W3Schools.com

PHP ignore_user_abort() Function


PHP Misc Reference 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:

0


PHP Misc Reference Complete PHP Misc Reference
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
Download XML Editor
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE