#31857 [Opn->Bgs]: header() function does not work

From: Date: Sun, 06 Feb 2005 05:49:02 +0000
Subject: #31857 [Opn->Bgs]: header() function does not work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73541@lists.php.net to get a copy of this message
ID: 31857 Updated by: sniper@php.net Reported By: florian dot gleixner at gmx dot de -Status: Open +Status: Bogus Bug Type: CGI related Operating System: Windows NT WH3 5.2 build 3790 PHP Version: 4.3.10 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#73541) next »