[PHP] stop script on browser closing

2002-12-16 Thread rolf vreijdenberger
I was wondering when a script stops executing server side. I am sending out a large number of mails. This takes some time ( 30 secs) before it is done. If I close the browser window before the execution of the script, a lot of emails do not arrive. is there a way to prevent this? and how does

Re: [PHP] stop script on browser closing

2002-12-16 Thread Chris Shiflett
--- rolf vreijdenberger [EMAIL PROTECTED] wrote: If I close the browser window before the execution of the script, a lot of emails do not arrive. is there a way to prevent this? Try this at the top of your script: ignore_user_abort(true); Chris -- PHP General Mailing List

Re: [PHP] stop script on browser closing

2002-12-16 Thread rolf vreijdenberger
yes, thank you, found it in the manual thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php