on 8/1/01 4:35 PM, Jeff Oien at [EMAIL PROTECTED] wrote:

> I've looked all over and can't find a content-type declaration for text.
> This is my guess
> header("Content-Type: text/txt");
> but I'm not sure if this is right. I know this is more HTTP than PHP.
> I want info to be displayed in a browser as plain text not HTML.
> Thanks.
> Jeff Oien

Look at the headers of an email. If the sender is savvy, they sent it in
plain text...

Content-Type: text/plain;

This works fine as long as you don't include the tag "<html>". On IE5 for
the Mac at least, this causes the browser to interpret the tags regardless
of the header. Without <html>, the rest of the html tags will show up as
plain text.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to