Re: Sending raw headers

From: Date: Fri, 30 Jun 2000 09:54:07 +0000
Subject: Re: Sending raw headers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-3966@lists.php.net to get a copy of this message
Hello, You're propably doing it right but php sends the useless content-type header even when you send your own headers. It might be within standards but if most of the browsers dont understand it, i consider it useless.. :| Tell me too if you find a way around this 'feature'. Same problem when you use eg. "Status: 204" header. There was a bugreport in php.net but as far as I know nobody's doing nothing about it. -Timo At 16:46 30.6.2000 +1000, you wrote:
Hi, I have a simple script called test.php3 which looks like this: <?php header("http/1.0 404 Not Found"); ?> Now, this should throw up a 404 error, but it doesn't. It simply displays a blank page. Can anyone tell me what I am doing wrong? Ignatius -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#3966) next »