note 19158 added to function.connection-status

From: Date: Mon, 18 Feb 2002 13:07:23 +0000
Subject: note 19158 added to function.connection-status
Groups: php.notes 
Request: Send a blank email to php-notes+get-26739@lists.php.net to get a copy of this message
Hi... i found a Problem with the connection status functions.. it seems allways that PHP still execute codes and not get ever out of the status.. i only saw this because we update a mySQL database and i have zombies running after every chat... after long and many trys i found a solution to check if the Browser is really alive $myShellString = "netstat -n -a | grep $REMOTE_ADDR:$REMOTE_PORT | wc -l"; $myStatus = shell_exec($myShellString); do { YOURCODE } while ( (int)$myStatus > 0); -- http://www.php.net/manual/en/function.connection-status.php http://master.php.net/manage/user-notes.php?action=edit+19158 http://master.php.net/manage/user-notes.php?action=delete+19158 http://master.php.net/manage/user-notes.php?action=reject+19158

« previous php.notes (#26739) next »