Easy Tutorial
❮ Func String Strnatcmp Php Secure Mail ❯

PHP connection_aborted() Function

PHP Misc Reference Manual

Example

Create a function (check_abort()) that writes a log message when the client terminates the script:


Definition and Usage

The connection_aborted() function checks if the client has disconnected.


Syntax

Technical Details

Return Value: Returns 1 if the connection is aborted, otherwise returns 0.
PHP Version: 4+
--- ---
❮ Func String Strnatcmp Php Secure Mail ❯