#32129 [Opn->Fbk]: Header doen't work on an individual script
| From: | sniper@php.net | Date: | Sun, 27 Feb 2005 13:30:48 +0000 |
| Subject: | #32129 [Opn->Fbk]: Header doen't work on an individual script | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74639@lists.php.net to get a copy of this message | ||
ID: 32129
Updated by: sniper@php.net
Reported By: fambizzari at tm4b dot com
-Status: Open
+Status: Feedback
Bug Type: HTTP related
Operating System: Linux
PHP Version: 4.3.10
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:
------------------------------------------------------------------------
[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