Hi, is there any way to configure PHP when used as a CGI with a NPH (Non-Parsed Headers) server?
I want the PHP CGI to emit the HTTP line: (eg, "HTTP/1.0 200 OK" or "HTTP/1.0 302 Redirect") based on any other headers I set (like "Status" or "Location").
All the php script files I'm using make use of ob_start() and ob_flush_end() so that I can set the Content-Length header appropriately... I just can't figure out how to make PHP output the HTTP status line as well.
Thanks for any help.