connection_aborted

Returns TRUE if client disconnected (PHP 3 >= 3.0.7, PHP 4, PHP 5)
int connection_aborted ( )

Returns TRUE if client disconnected. See the Connection Handling description in the Features chapter for a complete explanation.

See also connection_status(), and ignore_user_abort().