X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

PHP ignore_user_abort() Function

PHP Misc Reference PHP Misc Reference

Example

Set to false (default) - client aborts will cause the script to stop running:

<?php
ignore_user_abort();
?>

The output of the code above could be:

0


Definition and Usage

The ignore_user_abort() function sets whether a remote client can abort the running of a script.

Tip: You can call this function without an argument, to return the current 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

Technical Details

Return Value: Returns the previous value of the user-abort setting
PHP Version: 4+


PHP Misc Reference PHP Misc Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook