note 104589 added to function.connection-aborted
| From: | djdark88 dot 7 at gmail dot com | Date: | Fri, 24 Jun 2011 08:24:05 +0000 |
| Subject: | note 104589 added to function.connection-aborted | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180904@lists.php.net to get a copy of this message | ||
Hmm i went and did the same thing for a realtime application i got some more bugs..
<?php
// Signin Script
while(!connection_aborted())
{
while(!$result and !connection_aborted())
{
// FETCH RESULT VIA SQL
if(SQL DUMPS SOMETHING)
{ $result =true;
}
}
// SEND RESULT
echo "<br>" ; // To make this work on chrome
flush();obflush(); // FLUSH (in flush u will need to add a <br> with the flushed data in order
to get the response sent to user if the user is using chrome )
}
//Signout Script
?>
even in my script it sometimes does NOT sent the result!!!
----
Server IP: 69.147.83.197
Probable Submitter: 117.200.147.237
----
Manual Page -- http://www.php.net/manual/en/function.connection-aborted.php
Edit -- https://master.php.net/note/edit/104589
Del: integrated -- https://master.php.net/note/delete/104589/integrated
Del: useless -- https://master.php.net/note/delete/104589/useless
Del: bad code -- https://master.php.net/note/delete/104589/bad+code
Del: spam -- https://master.php.net/note/delete/104589/spam
Del: non-english -- https://master.php.net/note/delete/104589/non-english
Del: in docs -- https://master.php.net/note/delete/104589/in+docs
Del: other reasons-- https://master.php.net/note/delete/104589
Reject -- https://master.php.net/note/reject/104589
Search -- https://master.php.net/manage/user-notes.php