#21637 [Opn->Fbk]: Header('Location: ... ') problem

From: Date: Wed, 15 Jan 2003 18:37:18 +0000
Subject: #21637 [Opn->Fbk]: Header('Location: ... ') problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30149@lists.php.net to get a copy of this message
 ID:               21637
 Updated by:       iliaa@php.net
 Reported By:      pthiebaud@labeltechnologies.com
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Windows 2000
 PHP Version:      4.3.0
 New Comment:

Which SAPI are you using?


Previous Comments:
------------------------------------------------------------------------

[2003-01-15 08:00:54] pthiebaud@labeltechnologies.com

Actually, there is no error, the system just stalls, we got nothing out
as a result and we are forced to kill the inetinfo process to restart
PHP (just stopping the service W3SVC wont work, the service wont
stopped and will stay in a "stopping" mode). It seems to be a problem
between IIS and PHP, but we didn't have this problem up to version
4.2.2. We had another problem with the headers in version 4.2.3 that
was reported in bug #19351, maybe it is related?

------------------------------------------------------------------------

[2003-01-14 19:20:36] sniper@php.net

What do you mean with 'crash' ? Do you get any errors?


------------------------------------------------------------------------

[2003-01-14 11:20:30] pthiebaud@labeltechnologies.com

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 this bug report at http://bugs.php.net/?id=21637&edit=1



Thread (14 messages)

« previous php.bugs (#30149) next »