On Feb 2, 7:52 pm, Bruno Rafael Moreira de Barros
<brunormbar...@gmail.comwrote:
I want to find out if a user's connection is still open because I will
be sending him files of up to 100MB and I don't want to be wasting
bandwidth sending data to nowhere.
By default, if the connection is closed your script won't continue to
run. That sounds like what you want.
If you want to change that behavior you can use ignore_user_abort().
There's plenty of information on the subject here:
<http://www.php.net/manual/en/features.connection-handling.php>