From:
Operating system: Microsoft-IIS/7.0
PHP version: 5.2.13
Package: HTTP related
Bug Type: Bug
Bug description:Header Redirect Fails
Description:
------------
Hi,
I've encountered a bug in PHP 5.2.13 that doesn't happen in PHP 5.2.10. My
header redirect statement doesn't produce a redirect. No error is
reported.
The line that causes the bug is simply:
header("location:store.php");
In the raw HTTP stream, I can see the redirect information missing (using
ExamDiff on the output shown using LiveHTTPHeaders with Firefox). I am
using two servers which are exactly the same (as they are virtual
machines), both running same IIS, ASP.NET version, etc. The only difference
was the PHP version. When I changed the version back to 5.2.10, both
servers worked exactly the same. When I set one to 5.2.13, it wouldn't do
the redirect to the page above.
--
Edit bug report at http://bugs.php.net/bug.php?id=52035&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=52035&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=52035&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=52035&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=52035&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=52035&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=52035&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=52035&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=52035&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=52035&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=52035&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=52035&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=52035&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=52035&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=52035&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52035&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52035&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=52035&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=52035&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=52035&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=52035&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=52035&r=mysqlcfg