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

From: Date: Wed, 15 Jan 2003 18:49:48 +0000
Subject: #21637 [Fbk->Opn]: Header('Location: ... ') problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30155@lists.php.net to get a copy of this message
ID: 21637 User updated by: pthiebaud@labeltechnologies.com Reported By: pthiebaud@labeltechnologies.com -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: Windows 2000 PHP Version: 4.3.0 New Comment: php4isapi.dll created friday the 27th of december 2002 at 05:43:24. We even created a filter at the master properties level of IIS using php4isapi.dll. It used to fix a lot of "memory" problems... Previous Comments: ------------------------------------------------------------------------ [2003-01-15 12:37:17] iliaa@php.net Which SAPI are you using? ------------------------------------------------------------------------ [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

« previous php.bugs (#30155) next »