#19311 [NEW]: header function with location not working

From: Date: Mon, 09 Sep 2002 12:22:15 +0000
Subject: #19311 [NEW]: header function with location not working
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18763@lists.php.net to get a copy of this message
From: marpas9756@mail.drq.pl Operating system: Win2000 PHP version: 4.2.3 PHP Bug Type: Apache2 related Bug description: header function with location not working I try simple redirection script <? header("Location: http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/sample.htm"); exit; ?> but my browser displaing only blank white window. Apache version is 2.0.40 with php working as module. When I try to execute this script if php is working as cgi application everything is going ok. -- Edit bug report at http://bugs.php.net/?id=19311&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19311&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19311&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19311&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19311&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19311&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19311&r=support Expected behavior: http://bugs.php.net/fix.php?id=19311&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19311&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19311&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19311&r=globals

« previous php.bugs (#18763) next »