Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: how to force HTML to display as textby beebware (Pilgrim) |
on Jan 24, 2002 at 23:04 UTC ( [id://141286]=note: print w/replies, xml ) | Need Help?? |
Using: print "Content-type:text/plain\n\n"; should work. However, some versions of Internet Explorer do try and be clever and might recognise a HTML file as such even with the text/plain mimetype header. It is a bug in Internet Explorer (and, in fact, can be exploited), but I don't think Microsoft is willing to do anything about it.
In Section
Seekers of Perl Wisdom
|
|