Re: output htmkl file as text
| From: | Greg Donald | Date: | Wed, 27 Oct 2004 17:48:24 +0000 |
| Subject: | Re: output htmkl file as text | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200463@lists.php.net to get a copy of this message | ||
On Wed, 27 Oct 2004 13:41:20 -0400, Jerry Swanson <pmysql@gmail.com> 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/