From:             florian dot gleixner at gmx dot de
Operating system: Windows NT WH3 5.2 build 3790
PHP version:      4.3.10
PHP Bug Type:     CGI related
Bug description:  header() function does not work

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 bug report at http://bugs.php.net/?id=31857&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31857&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31857&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31857&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31857&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31857&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31857&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31857&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31857&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31857&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31857&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31857&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31857&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31857&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31857&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31857&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31857&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31857&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31857&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31857&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31857&r=mysqlcfg

Reply via email to