Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: how to force HTML to display as text

by beebware (Pilgrim)
on Jan 24, 2002 at 23:04 UTC ( [id://141286]=note: print w/replies, xml ) Need Help??


in reply to how to force HTML to display as text

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://141286]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-26 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found