#32129 [Bgs->Opn]: Header doen't work on an individual script
ID: 32129
User updated by: fambizzari at tm4b dot com
Reported By: fambizzari at tm4b dot com
-Status: Bogus
+Status: Open
Bug Type: HTTP related
Operating System: Linux
PHP Version: 4.3.10
New Comment:
I apologise, but i didn't realise that.
Previous Comments:
------------------------------------------------------------------------
[2005-02-27 14:34:16] sniper@php.net
Cache problems are not PHP bugs. Please ask further questions on the
php-general mailing list.
------------------------------------------------------------------------
[2005-02-27 14:32:43] 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:30:46] sniper@php.net
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.
------------------------------------------------------------------------
[2005-02-27 13:59:25] fambizzari at tm4b dot com
Description:
------------
I'e been using header("location: http://www.tm4b.com
"); 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: http://www.tm4b.com ");
?>
Expected result:
----------------
To redirect the user to the homepage.
Actual result:
--------------
Blank screen.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32129&edit=1
Thread (9 messages)