#19311 [Opn->Bgs]: header function with location not working

From: Date: Mon, 09 Sep 2002 12:24:03 +0000
Subject: #19311 [Opn->Bgs]: header function with location not working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18765@lists.php.net to get a copy of this message
ID: 19311 Updated by: sander@php.net Reported By: marpas9756@mail.drq.pl -Status: Open +Status: Bogus Bug Type: Apache2 related Operating System: Win2000 PHP Version: 4.2.3 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-09-09 07:22:15] marpas9756@mail.drq.pl 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 this bug report at http://bugs.php.net/?id=19311&edit=1

« previous php.bugs (#18765) next »