ID: 16194
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: Redhat Linux 7.2
PHP Version: 4.1.2
New Comment:
once again forgot to change the status ...
Previous Comments:
[2002-03-21 05:12:55] [EMAIL PROTECTED]
the connection is closed by either the webserver or the client
software, not by php
you can use connection_status() to detect the cause for
the script termination
if you still have a connection then your script terminated normaly, if
you don't then the client terminated the connection (or the net
infrastructure droped it)
see also: http://php.net/ignore_user_abort
[2002-03-20 18:39:14] [EMAIL PROTECTED]
register_shutdown_function doesn't close the connection to the browser
when called on RedHat 7.2 Linux PHP 4.1.2.
Example:
\n";
}
register_shutdown_function("test");
echo "In script connection_status: " . connection_status() . "\n";
?>
END
--
Edit this bug report at http://bugs.php.net/?id=16194&edit=1