#39019 [Opn]: Header And Location Problem

From: Date: Mon, 02 Oct 2006 21:10:21 +0000
Subject: #39019 [Opn]: Header And Location Problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-103015@lists.php.net to get a copy of this message
ID: 39019 User updated by: bojan dot saksida at volja dot net Reported By: bojan dot saksida at volja dot net Status: Open Bug Type: *General Issues Operating System: Windows XP PHP Version: 6CVS-2006-10-02 (snap) New Comment: I also tried using PHP5 whitch was included in instalation in NuSphere PhpED, I got the same result Previous Comments: ------------------------------------------------------------------------ [2006-10-02 21:08:55] bojan dot saksida at volja dot net Description: ------------ i have file index.php insede is: //to doo if statment { header("Location: register.php"); } //to doo if statment2 { header("Location: login.php"); } end of file index.php i can easly redirect to login.php but i can't to register.php. if i disable login.php header, then i can go to register.php. if i put: header("Location: register.php"); die(""); in this case both Location headers works fine. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39019&edit=1

« previous php.bugs (#103015) next »