Check int connection_aborted ( ) in the PHP manual Andy weetat wrote: > Hi all, > > Can we detected if user have clicked the "X" button in browser or > close browser ? > I have tested in my php program ,when i click "X" in IE6 , the > execution did not stop , it still running . > Any ways to stop the program execution when user click the "X" button > or close browser ? > > Thanks > - weetat > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php