[Project_owners] PHP Not Respecting header()

David White whitedavidp at gmail.com
Wed Dec 19 07:56:43 PST 2007


My actual code gets the protocol info from the server and I tried 1.0 
and 1.1 via hardcode. Nothing worked. I finally addes a Status: header 
and use that instead. It works but seems like there are plenty of 
oddities in PHP (as a newbie). Thanks!

Douglas E. Warner wrote:
> On Tuesday 18 December 2007, David White wrote:
>> <?php
>> header("HTTP/1.0 400 foobar");
>> ?>
> 
> Perhaps the problem is that we're using HTTP/1.1, not 1.0?
> 
> -Doug
> 


More information about the Project_owners mailing list