| 
 Posted by ZeldorBlat on 08/11/07 19:14 
On Aug 11, 12:47 pm, "Fabio" <znt.fa...@virgilio.it> wrote: 
> Hi all 
> 
> There is a way to exec a function asynchronously? 
> I need to exec a function that is too slow but for me can be executed in the 
> background... there is no way??? 
> 
> Thanks 
 
I think the manual on exec() makes it pretty clear: 
 
<http://www.php.net/exec> 
 
"Note: If you start a program using this function and want to leave it 
running in the background, you have to make sure that the output of 
that program is redirected to a file or some other output stream or 
else PHP will hang until the execution of the program ends."
 
  
Navigation:
[Reply to this message] 
 |