A cause may be that you are echoing "foobar" before you call
the header() function. Try switching the order of these
functions.
Previous Comments:
------------------------------------------------------------------------
[2001-07-17 12:06:51] chea...@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] st...@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] chea...@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] ze...@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] chea...@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
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.
Previous Comments:
------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------
[2001-06-25 22:55:02] chea...@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.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11684&edit=1
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")?
Previous Comments:
Previous Comments:
------------------------------------------------------------------------
[2001-07-17 12:06:51] chea...@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] st...@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] chea...@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] ze...@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] chea...@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