|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32129 Header doen't work on an individual script
Submitted: 2005-02-27 13:59 UTC Modified: 2005-02-27 16:03 UTC
From: fambizzari at tm4b dot com Assigned:
Status: Not a bug Package: HTTP related
PHP Version: 4.3.10 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: fambizzari at tm4b dot com
New email:
PHP Version: OS:


 [2005-02-27 13:59 UTC] fambizzari at tm4b dot com
I'e been using header("location: "); throughout my codes to redirect users after db functions are completed. 

Suddenly, for one individual script, it produces a blank screen.

I've seen a similar bug report which is not useful, because, in this case, it is restrcited to pa particular script which is no different to the others in anyway.

For your info, any code placed after the header does not get processed e.g. <? print "hello";?>.

Reproduce code:
header("location: "); 

Expected result:
To redirect the user to the homepage.

Actual result:
Blank screen.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-27 14:30 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

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.

 [2005-02-27 14:32 UTC] fambizzari at tm4b dot com
It appears that there has been some type of issue with the cache, which has caused this error. I am investigating it and will return shortly.
 [2005-02-27 14:34 UTC]
Cache problems are not PHP bugs. Please ask further questions on the php-general mailing list.

 [2005-02-27 14:37 UTC] fambizzari at tm4b dot com
I apologise, but i didn't realise that.
 [2005-02-27 14:43 UTC]
It sometimes happens that you hit a blank page (unrelated to header()) and that is cached -> next request gives the same blank page from cache.. there are ways to avoid this, but please discuss this on

 [2005-02-27 14:44 UTC] fambizzari at tm4b dot com
 [2005-02-27 16:03 UTC]
No bug -> bogus.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 15:01:34 2024 UTC