note 9154 added to ignore_user_abort
| From: | polito at polito dot cx | Date: | Thu, 19 Oct 2000 05:55:35 +0000 |
| Subject: | note 9154 added to ignore_user_abort | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6693@lists.php.net to get a copy of this message | ||
This article at PHP Builder seems to say that ignore_user_abort takes a value, and if it evaluates
to true, it ignores the user clicking stop. If it's false, it doesn't ignore the user
clicking stop.
The article at PHP builder:
http://www.phpbuilder.com/tips/item.php?id=125
So you can activate it when you need it and deactivate it when you don't so to speak.
// ignore 'STOP' button
ignore_user_abort(true);
// stop execution of script on 'STOP'
ignore_user_abort(false);
http://www.php.net/manual/function.ignore-user-abort.php