Re: run php in background "atomic" - wild trick
| From: | Leonardo Dias | Date: | Wed, 29 Nov 2000 11:28:57 +0000 |
| Subject: | Re: run php in background "atomic" - wild trick | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27800@lists.php.net to get a copy of this message | ||
Hello, Teodor and Mailing list,
> I've done it in an hackish way, which sometimes worked, sometime didn't
> namely, if you don't expect any output from the program being spawned,
> register a function with register_shutdown_function() and execute it there.
> Don't forget to ignore_user_abort() and set_time_limit() higher.
But then you won't be sure if the function was executed or not, right?
What if we need it to be executed?
--
Leonardo Dias
Analista Programador / Analyst Programmer
Catho Online
www.catho.com.br