php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39019 Header And Location Problem
Submitted: 2006-10-02 21:08 UTC Modified: 2006-10-02 21:20 UTC
From: bojan dot saksida at volja dot net Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 6CVS-2006-10-02 (snap) OS: Windows XP
Private report: No CVE-ID: None
 [2006-10-02 21:08 UTC] 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.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-02 21:10 UTC] bojan dot saksida at volja dot net
I also tried using PHP5 whitch was included in instalation in NuSphere PhpED, I got the same result
 [2006-10-02 21:20 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 02 22:00:02 2025 UTC