#21004 [Com]: Header Location Fails

From: Date: Fri, 25 Apr 2003 08:18:32 +0000
Subject: #21004 [Com]: Header Location Fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38351@lists.php.net to get a copy of this message
ID: 21004 Comment by: sfelix at labeltechnologies dot com Reported By: tom at minnesota dot com Status: Bogus Bug Type: HTTP related Operating System: NetBSD/Alpha (64bit) - 1.6 PHP Version: 4CVS-2002-12-13 (stable) New Comment: I have the same problem. My scripts worked fine on php 4.2.2, but since I the 4.3.0 release, it doesn't work anymore. I use win2000, iis5. The header('Location: blah') returns a header with http code 302 -> moved, but the url I try to redirect to isn't in the header. Previous Comments: ------------------------------------------------------------------------ [2003-01-30 05:46:25] jot at mac dot com Hello, I have the same problem. Using Apache 2.0.43 and php-4.3.0-Win32. All my header locations return a blank page. It works just fine with my apache/php os X setup, however I need to deploy this on a windows machine. Any idea on a fix? Is there a build version I should grab instead? Thank You. And thanks ALOT for PHP. I am actually starting to use it instead of webobjects. Jot ------------------------------------------------------------------------ [2002-12-16 05:05:29] sniper@php.net as bogus as it can get.. ------------------------------------------------------------------------ [2002-12-16 00:23:59] tom at minnesota dot com I wiped the slate clean and fetched another snap. Then started a fresh compile. This time I noticed that I had patched (and forgot that I did when I reported the bug) the previous snap source to fix the unaligned access errors, due to 64-bit integers (see Bug #20994). The patch provided in Bug #20994 fixed the unaligned access problem but caused header() to fail. The header() function was patched in that patch file provided in Bug #20994. Please close this bug. My apologies for any time wasted. I've also noted in Bug #20994 that it will break header() function. ------------------------------------------------------------------------ [2002-12-15 22:55:25] tom at minnesota dot com is 4.3-dev the same as 4CVS-2002-12-13 (stable)? Cause I used the snap from stable branch. ------------------------------------------------------------------------ [2002-12-15 20:27:43] sniper@php.net I'm unable to reproduce this with 4.3.0-dev. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21004 -- Edit this bug report at http://bugs.php.net/?id=21004&edit=1

« previous php.bugs (#38351) next »