Re: run php in background "atomic" - wild trick

From: Date: Wed, 29 Nov 2000 16:33:25 +0000
Subject: Re: run php in background "atomic" - wild trick
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27828@lists.php.net to get a copy of this message
Hi, Teodor! > But then you won't be sure if the function was executed or not, right? > What if we need it to be executed? > The docs say nothing about it's "run probability", so you must take it as > certain to execute. Just that one cannot debug easily (i.e. echos) and I > had some trouble w/ it. Well, we need some support here. Rasmus? Andi? Zeev? How can we be sure that this is going to be executed? That would improve the speed of some DB work we do here. If we could just "background it"... humm... Maybe it's the case of inventing a function called background(). That function should just run another function in a background PHP process. It shouldn't be hard for PHP to do that, since you already can register a shutdown function and ignore user abort. Well, thanks for throwing some lights in our darkness here, anyway. -- Leonardo Dias Analista Programador / Analyst Programmer Catho Online www.catho.com.br

« previous php.general (#27828) next »