From:             fambizzari at tm4b dot com
Operating system: Windows XP
PHP version:      4.3.10
PHP Bug Type:     HTTP related
Bug description:  Header doen't work on an individual script

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 bug report at http://bugs.php.net/?id=32129&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32129&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=32129&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=32129&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32129&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32129&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32129&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32129&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32129&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32129&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32129&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=32129&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=32129&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32129&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32129&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32129&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32129&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32129&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32129&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32129&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32129&r=mysqlcfg

Reply via email to