ignore user abort
Posted: Wed Jan 04, 2006 1:40 pm
http://www.php.net/ignore_user_abort
the documentation on this function is scarce.. but I need to ignore user abort on one of my scripts because it involves very important changes to the database that can't be stopped only halfway through the script
the doc says ignore_user_abort ( [bool] )
so I'm guessing I do
or
is this correct? has anyone else used this function?
the documentation on this function is scarce.. but I need to ignore user abort on one of my scripts because it involves very important changes to the database that can't be stopped only halfway through the script
the doc says ignore_user_abort ( [bool] )
so I'm guessing I do
Code: Select all
ignore_user_abort(1);Code: Select all
ignore_user_abort(TRUE);