content-type:text/html

From: Date: Sat, 10 Jun 2000 16:00:13 +0000
Subject: content-type:text/html
Groups: php.windows 
Request: Send a blank email to php-windows+get-382@lists.php.net to get a copy of this message
I tried this and telnet simply showed me the html code for my page and it goes like this... ------- Content-type:text/html blah blah... ------- and I couldn't get out of it, can you guess the error from this??? >"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. Nasir Ali mailto:nasir_786@hotmail.com mailto:nal@mta.ca http://nasirali.cjb.net

« previous php.windows (#382) next »