Bug #11684 Updated: Header() causes PHP to hang
| From: | sniper@php.net | Date: | Fri, 27 Jul 2001 00:34:52 +0000 |
| Subject: | Bug #11684 Updated: Header() causes PHP to hang | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61138@lists.php.net to get a copy of this message | ||
ID: 11684
Updated by: sniper
Reported By: cheald45@hotmail.com
Old Status: Open
Status: Closed
Bug Type: HTTP related
Operating System: Windows 2000/IIS4
PHP Version: 4.0.5
Previous Comments:
------------------------------------------------------------------------
[2001-07-17 12:06:51] cheald45@hotmail.com
Yes - I thought I corrected that when I first submitted the bug. Guess not. Anyway, I -am- using the
correct header calls - it works correctly on my home machine, but not my work machine. The header
call doesn't always fail, but in certain script, it will always fail.
It's probably just a local config problem.
------------------------------------------------------------------------
[2001-07-17 11:55:01] stas@php.net
BTW: header("http://foo.com/bar.html") does
not make a valid HTTP header. Didn't you mean something like: header("Location: http://foo.com/bar.html")?
------------------------------------------------------------------------
[2001-07-16 11:26:02] cheald45@hotmail.com
Double checked my config, yes, it's IIS 5. It may just be a combonation of factors on my end -
it is IIS after all. Anyway, no big deal, just thought someone might know something about it.
------------------------------------------------------------------------
[2001-07-16 07:47:51] zeev@php.net
Is anybody else able to reproduce this? I'm not.
BTW, I assume you're using IIS 5...
------------------------------------------------------------------------
[2001-06-25 22:58:17] cheald45@hotmail.com
<?
ob_start();
echo "foobar";
header("http://foo.com/bar.html");
ob_end_flush();
?>
Win2k/IIS4/CGI mode/Standard setup, standard modules + image modules
calls to the header() function cause that instance of PHP to hang (infinite loop?).
Timeout occurs 4 or 5 times longer than max_execution_time allows. Can continue to run scripts in
a seperate browser session. Executable memory footprint is 4-5 MB.
I have not been able to reproduce this on a Win98 machine with an identical PHP
environment.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=11684
Edit this bug report at http://bugs.php.net/?id=11684&edit=1