Bug #17222 Updated: header("Location: ...") doesn't work properly

From: Date: Fri, 17 May 2002 16:32:57 +0000
Subject: Bug #17222 Updated: header("Location: ...") doesn't work properly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7940@lists.php.net to get a copy of this message
ID: 17222 Updated by: hubweb@hotmail.com Reported By: ceefour@indoglobal.com Status: Bogus Bug Type: Apache related Operating System: Windows2000 Pro (SP: RC3.51) PHP Version: 4.2.0 New Comment: What if you try : Header("Location: http://www.yahoo.com\n"); ?? Previous Comments: ------------------------------------------------------------------------ [2002-05-15 14:33:05] sander@php.net You're very likely to do something wrong. Please ask support on the appropriate mailinglist. ------------------------------------------------------------------------ [2002-05-15 07:41:43] Leblanc@somewhere.com Works just fine on my Apache 1.3.24 with PHP 4.2.0 as a module. (Just copied/pasted the stuff) /Leblanc ------------------------------------------------------------------------ [2002-05-14 18:18:23] ceefour@indoglobal.com The script: header("Location: http://www.yahoo.com/"); This wouldn't work at all, and my Apache returns an empty result. With a 500 status. Very weird. I use Apache 1.3.24-Win32 (precompiled binary) and I use php as a module. The exact same script using PHP 4.1.2 works fine (no modification at all to Apache configs or even php.ini!!) I'm downloading 4.2.1 now and will update this (if possible) when I've tried it... enabled PHP extensions: gd & zlib ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17222&edit=1

« previous php.bugs (#7940) next »