note 19158 rejected from function.connection-status by alindeman

From: Date: Mon, 18 Feb 2002 22:27:54 +0000
Subject: note 19158 rejected from function.connection-status by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-26769@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);

« previous php.notes (#26769) next »