ID: 6943 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Output Control Operating System: Windows NT 4.0 PHP Version: 4.0.2 New Comment:
To bring this back from the dead! I have been searching on how to fix this for 2 days now. I understand that it's probably a problem with the webserver, and apologize for putting this here, but does anybody know how to get around this? I have a php script that I'm running from a command line, and the output doesn't show till the script ends. The problem is, this script doesn't end. It keeps running every 15 minutes. I'm sorry that this isn't a php problem, but a webserver problem, but I'm out of ideas on how to fix it :( Thanks Previous Comments: ------------------------------------------------------------------------ [2000-11-09 06:21:57] [EMAIL PROTECTED] this is most likely your webserver thats buffering the whole output from php and doesn't send it out before script completion ------------------------------------------------------------------------ [2000-09-29 17:02:26] [EMAIL PROTECTED] <html> <head> <title>Exemple</title> </head> <body> <? echo ("script PHP"); echo "should be printed immediatly<br>"; flush(); ?> hello<br> <?> sleep(3); echo "in fact, printed in the same time that, i.e. after the 3sec. delay !!!"; </script> </body> </html> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=6943&edit=1