Re: Content type: text/html
| From: | Matthew Kendall | Date: | Fri, 09 Jun 2000 23:54:07 +0000 |
| Subject: | Re: Content type: text/html | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-374@lists.php.net to get a copy of this message | ||
"Nasir Ali" <nal@mta.ca> wrote...
> I have a strange problem. Every time I generate a page using
> PHP4, it spits out "Content Type: text/html" at the top of every
> page. How do I get rid of it?
To see the error message that is being hidden from you and is causing the
legitimate content type header to appear as part of the page, telnet to your
webserver (e.g. "telnet localhost 80"), type "GET / HTTP/1.0", hit Enter
twice and look at the response.