Re: Re: Stop PHP execution on client connection closed

From: Date: Tue, 13 Sep 2011 08:01:23 +0000
Subject: Re: Re: Stop PHP execution on client connection closed
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-314781@lists.php.net to get a copy of this message
Il 13/09/2011 09:39, vikash.iitb@gmail.com ha scritto: > > 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. The question is: how can I send data to client until I'm waiting for query execution? PHP thread support is not available in Apache enviroment. Bye, Marco

« previous php.general (#314781) next »