ID: 21637 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: Windows 2000 PHP Version: 4.3.0 New Comment:
No, the output is on the result page. Ex: page 1 redirect to page 2 and page 2 echos out "Hello World". In the case we put the "header('Content-type: text/html');" line we do see "Hello world", if we delete that line we don't se "Hello world" (not as simple as this, but you got the idea). By the way we also do an ob_flush to make sure everything is treated, but it doesn't change a thing. Previous Comments: ------------------------------------------------------------------------ [2003-01-25 08:56:12] [EMAIL PROTECTED] you have *output* on a redirect page? this once again doesn't make sense at all to me ... (but still it should not hang, esp. if it worked in 4.2.x) how does IIS handle redirects? does it just pass them to the client or does it handle some of them itself? ------------------------------------------------------------------------ [2003-01-17 10:50:58] [EMAIL PROTECTED] We did try to remove the "header('Content-type: text/html')" portion of the code. We then have problems with the "print_r" or the "echo" functions that will not work correctly. We receive only part of the page, PHP seems to forget to process some lines of code. If we put back the header line, then the code works perfectly. ------------------------------------------------------------------------ [2003-01-16 09:50:52] [EMAIL PROTECTED] It was working fine with PHP up to version 4.2.2 (dont know about 4.2.3 because of our ohter problem with headers cf bug #19351) ------------------------------------------------------------------------ [2003-01-16 09:30:46] [EMAIL PROTECTED] sure, it should not crash or hang, but... this combination of header fields just makes no sense, as the actual content-type is determined by the result of the request to the 'Location:' URL (right now i can't think of *any* header that would make sense in combination with 'Location:') maybe it is even the webserver itself and not php that gets confused by this header combination? did it work with previous PHP versions? ------------------------------------------------------------------------ [2003-01-15 12:49:48] [EMAIL PROTECTED] 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... ------------------------------------------------------------------------ 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/21637 -- Edit this bug report at http://bugs.php.net/?id=21637&edit=1