Edit report at http://bugs.php.net/bug.php?id=52035&edit=1

 ID:               52035
 Updated by:       srina...@php.net
 Reported by:      mchotai at fulcrum dot ca
 Summary:          Header Redirect Fails
-Status:           Open
+Status:           Feedback
 Type:             Bug
 Package:          HTTP related
 Operating System: Microsoft-IIS/7.0
 PHP Version:      5.2.13



Previous Comments:
------------------------------------------------------------------------
[2010-06-11 14:00:54] srina...@php.net

most likely not a valid bug. pl. check the log file to see if you have
reached the maximum number of redirects.

------------------------------------------------------------------------
[2010-06-09 19:45:08] mchotai at fulcrum dot ca

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 this bug report at http://bugs.php.net/bug.php?id=52035&edit=1

Reply via email to