PHP ignore_user_abort() Function
Complete PHP Misc Reference
Definition and Usage
The ignore_user_abort() function sets whether a remote client can abort the
running of a script.
This function returns the previous value of the user-abort setting.
Syntax
ignore_user_abort(setting)
|
| Parameter |
Description |
| setting |
Optional. TRUE ignores user aborts in
a script (the script will continue to run). This is FALSE by default,
meaning that client aborts will cause the script to stop running |
Tips and Notes
Tip: You can call this function without an
argument, to return the current setting.
Example
<?php
ignore_user_abort();
?>
|
The output of the code above could be:
Complete PHP Misc Reference
 |
|
Get Your Diploma!
W3Schools' Online Certification Program is the perfect solution for busy
professionals who need to balance work, family, and career building.
The HTML Certificate is for developers who want to document their knowledge of HTML, XHTML, and CSS.
The ASP Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.
|
|