ID: 11684
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: HTTP related
Operating System: Windows 2000/IIS4
PHP Version: 4.0.5
New Comment:

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Is anybody else able to reproduce this?  I'm not.

BTW, I assume you're using IIS 5...



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

[2001-06-25 22:58:17] [EMAIL PROTECTED]

<?
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to