Ok I have
and this is the bit Im not sure is workingPHP Code:<?php
function check_abort()
{
if (connection_aborted())
error_log ("Script $GLOBALS[SCRIPT_NAME]" .
"$GLOBALS[SERVER_NAME] was aborted by the user.");
} //some script to be executed here // Call the check_abort function when the script ends
register_shutdown_function("check_abort");
?>
Is connection_aborted() correct if I want to see if a client has disconnected.PHP Code:connection_aborted()





Reply With Quote
