On Jun 12, 2003, "news" claimed that: |Shouldn't the following work - or rather why doesn't it : | | | ignore_user_abort(0); | | for( $i=100; $i; $i-- ) | { | if ( connection_status() ) exit(0); | print " blurp.<br/>"; flush(); | sleep(1); | } | print "Done.<br/>"; | |This is php4.3.2 on apache 2.0.45. |/Per
I'm just guessing here, because you didn't give us the desired result, but how about: if (connection_status() ) break; -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php