Re: 4.3.2 -- does connection_status() actually work?
| From: | Jeff Harris | Date: | Thu, 12 Jun 2003 21:31:39 +0000 |
| Subject: | Re: 4.3.2 -- does connection_status() actually work? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151316@lists.php.net to get a copy of this message | ||
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.