ID: 31857 User updated by: florian dot gleixner at gmx dot de Reported By: florian dot gleixner at gmx dot de Status: Bogus Bug Type: CGI related Operating System: Windows NT WH3 5.2 build 3790 PHP Version: 4.3.10 New Comment:
Sorry if that bug is bogus, but then the documentation is simply wrong. There is no hint in the header() documentation that this function depends on php version/cgi/os/ini settings. header() does also not throw a error/warning/notice. Previous Comments: ------------------------------------------------------------------------ [2005-02-06 06:49:01] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Ask support questions about how to use PHP on the mailing lists. ------------------------------------------------------------------------ [2005-02-06 00:23:26] florian dot gleixner at gmx dot de Description: ------------ I tried to add/replace HTTP headers with the header() function. I tried all examples from the manual. Even the simple redirection with "Location: ..." or "HTTP/1.0 404 Not Found" don't work. Reproduce code: --------------- <?php header("HTTP/1.0 404 Not Found"); ?> Expected result: ---------------- HTTP/1.0 404 Not Found Actual result: -------------- HTTP/1.1 200 OK Content-Type: text/html Server: Microsoft-IIS/6.0 X-Powered-By: PHP/4.3.10 MicrosoftOfficeWebServer: 5.0_Pub X-Powered-By: ASP.NET Date: Sat, 05 Feb 2005 22:53:18 GMT Connection: close ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31857&edit=1
