Re: Send process to background
| From: | Paul Scott | Date: | Fri, 13 Oct 2006 16:29:20 +0000 |
| Subject: | Re: Send process to background | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243094@lists.php.net to get a copy of this message | ||
On Fri, 2006-10-13 at 16:05 +0000, André Medeiros wrote:
> The thing is, the first request to the site needs to start the backup,
> but I didn't want to use any command-line tools, since some of our
> servers rely on safe_mode. Is there any way to send output to the
> browser on this first instance, finish the request, but keeping the
> PHP running and making the backup.
Take a look at this class that I wrote a while back. It does what you
need.
http://www.phpclasses.org/browse/package/2837.html
--Paul