RE: [PHP] Background Processing

From: Date: Wed, 24 Apr 2002 16:08:57 +0000
Subject: RE: [PHP] Background Processing
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94405@lists.php.net to get a copy of this message
You can use PHP-GTK in the background. Just call it with cron. Alternatively, you can set PHP to keep executing on the user exit. What was that function called? on_*_shutdown()? Could be dangerous though, what if it goes to loop-in your server? 30 mins is quite a few for a script to run. So, check also max_execution_time directiv in your PHP.INI. Or, the best is - loop up a way to reduce (or split) the times. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -----Original Message----- From: Richard Perez [mailto:Richard_Perez@intranet.telcel.com.ve] Sent: Wednesday, April 24, 2002 5:33 PM To: php-general@lists.php.net Subject: [PHP] Background Processing Hi people!! I'm trying to find a way to handle this but I don't come up with anything. I need to execute a query to a DB using PHP. The thing is that the query takes 0.5 hours to execute and I can't wait that time with the browser opened in that page. What I want to do is to execute a PHP code block in some sort of background way so I can execute the query and send the results via email. Any ideas to do this?? Thanks a lot. Richard. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#94405) next »