Re: output htmkl file as text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 27 Oct 2004 13:41:20 -0400, Jerry Swanson <pmysql@xxxxxxxxx> wrote:
> I want to output html file on the screen like text not like html file.
> I want a program to read html file and output source code to the screen.
> 
> Any ideas how to fake browser, so browser will print html tags on the screen?

You need to send the Content-Type header for text instead of html.

php.net/header


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux