Re: [PHP] Question about set_time_out and shell_exec

2006-05-29 Thread Richard Lynch
On Wed, May 24, 2006 11:26 am, Suhas wrote: > I am trying to write a script which will avoid browser timeout problem > and > in that process I have created 2 files > > FILE1.php: > set_time_out(1); > echo shell_exec("/usr/local/bin/php -f FILE2.php &"); > > FILE2.php: > @mail($to,$sub,$msg); > slee

Re: [PHP] Question about set_time_out and shell_exec

2006-05-24 Thread Rabin Vincent
On 5/24/06, Suhas <[EMAIL PROTECTED]> wrote: Hi, I am trying to write a script which will avoid browser timeout problem and in that process I have created 2 files FILE1.php: set_time_out(1); echo shell_exec("/usr/local/bin/php -f FILE2.php &"); FILE2.php: @mail($to,$sub,$msg); sleep(60); @mail

[PHP] Question about set_time_out and shell_exec

2006-05-24 Thread Suhas
Hi, I am trying to write a script which will avoid browser timeout problem and in that process I have created 2 files FILE1.php: set_time_out(1); echo shell_exec("/usr/local/bin/php -f FILE2.php &"); FILE2.php: @mail($to,$sub,$msg); sleep(60); @mail($to,$sub,$msg); I run File1.php thr' browser