Syntax: int ignore_user_abort(int [setting]);
Return value: Integer
Function type: PHP system function
Content description
0 - NORMAL (normal) 1 - ABORTED (abnormal exit) 2 - TIMEOUT (timeout)
This function configures or obtains whether the PHP program will continue to execute after the user connection is interrupted. The default value is to stop execution after disconnecting. The ignore_user_abort option in the PHP configuration file (php3.ini/php.ini) is the configuration location. This feature is only available after PHP version 3.0.7.
connection_status
Get the connection status.
Syntax: int connection_status(void);
Return value: Integer
Function type: Network system
Content description
This Function returns connection status. There is no need to enter parameters when using
register_shutdown_function
Define the function to be executed after the PHP program is executed.
Syntax: int register_shutdown_function(string func);
Return value: integer
Function type: PHP system function
Content description
This function defines to the system the function to be executed after the PHP program (Script) is executed. When the specified function is executed, debugging is difficult because the return value cannot be seen.