While your script is running, you can use connection_aborted() to see if the user has clicked the stop button or closed the window. After your script finishes, though, then you have no way of knowing unless you use a session cookie, which will be destroyed when the browser is closed.
---John Holmes... ----- Original Message ----- From: "Haseeb Iqbal" <[EMAIL PROTECTED]> To: "PHP General list" <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 8:46 PM Subject: [PHP] Anything that is changed when the browser is closed hi, just wanna know if there is anything in php that can be used (besides sessions) to get anything from the $_SERVER that is unique and gets changed each time we close the browser. anything at all to check if the user has closed the browser. regards Haseeb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php