Re: What happens when user hits the Stop button?

From: Date: Sun, 09 Jul 2000 22:00:13 +0000
Subject: Re: What happens when user hits the Stop button?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5652@lists.php.net to get a copy of this message
check out: ignore_user_abort configuration flag. and: ignore_user_abort() function. http://www.zend.com/manual/function.ignore-user-abort.php Charles ----- Original Message ----- From: "Mike Goelzer" <mwglists@dailyjolt.com> To: <php-general@lists.php.net> Sent: Sunday, July 09, 2000 2:37 PM Subject: [PHP] What happens when user hits the Stop button? > Hi all, > > I have a script that opens some files and does some generally messy stuff > while executing, and then cleans up after itself right before > terminating. It is very important that this script not be terminated half > way through its processing, because then it would leave the system in a > messy state. > > Thus, I need to make sure that even if the user hits the 'Stop' button in > his/her browser (or the connection closes for some other reason), my script > still executes until it is finished. Does anyone know how to do this? > > (I know that it is possible to do this, because I can remember reading > about it in the PHP3 docs a while back. But I can't find the reference > anymore. I believe it's a php.ini setting, but that's about all I can > remember. Hopefully someone can point me in the right direction.) > > Thanks! > > -mike > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#5652) next »