#21637 [NEW]: Header('Location: ... ') problem

From: Date: Tue, 14 Jan 2003 17:20:30 +0000
Subject: #21637 [NEW]: Header('Location: ... ') problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30014@lists.php.net to get a copy of this message
From:             pthiebaud@labeltechnologies.com
Operating system: Windows 2000
PHP version:      4.3.0
PHP Bug Type:     Reproducible crash
Bug description:  Header('Location: ... ') problem

We have a PHP 4.3 installation on Windows 2000 Server & Workstation. On
both systems, the following code produce a PHP crash.

<?PHP
    header('Content-type: text/html');
    header('Location: '.$url);
?>

If we remove the "header('Content-type: text/html');" line, the code work
fine, but we need to be able to force the Content type header for our
application to work.


-- 
Edit bug report at http://bugs.php.net/?id=21637&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21637&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21637&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21637&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21637&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21637&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21637&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21637&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21637&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21637&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21637&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21637&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21637&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21637&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21637&r=gnused



Thread (14 messages)

« previous php.bugs (#30014) next »