Does anyone know if it is possible to detect whether the browser has closed the connection during the execution of a long PHP
script, when using apache
and mod_php
?
For example, in Java
, the HttpOutputStream
will throw an exception
if one attempts to write to it after the browser has closed it -- Or will respond negatively to checkError()
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With