On 13 September 2011 13:05, Marco Lanzotti <marco@xxxxxxxxxxxx> wrote: > Il 12/09/2011 21:32, Al ha scritto: > > See http://us2.php.net/manual/en/function.connection-aborted.php > > As I wrote, PHP doesn't detect that client aborted connection until it > send some data. > During query the script doesn't send any data to client, so it doesn't > detect client aborted connenction. > I know this function, but it's useless to solve my problem... > You can use ob_start() to start output buffering and ob_end_flush() to send some data in the middle of script - that way your php script will send some data to the client earlier than finishing execution and hence detect the aborted connection. > > Bye, > Marco > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >