Re: Executing several PHP scripts simultaneously??
| From: | Hugh Bothwell | Date: | Thu, 28 Jun 2001 16:35:07 +0000 |
| Subject: | Re: Executing several PHP scripts simultaneously?? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9938@lists.php.net to get a copy of this message | ||
Consider using set_time_limit() before each sub-script executes; this will
time out on any individual script, but let you extend the limit on the
master script.
""Lisa Elita"" <lisa77@mitra.net.id> wrote in message
news:004901c0ffd5$90c63680$a6fc2bca@telkomnetnstan...
> How can we execute several PHP scripts simultaneously inside a single PHP
> script?
> For example, let's say master.php has 10 tasks in different PHP scripts:
> 1.php, 2.php, ..., 10.php. Each task is independent (the input of each
task
> is not determined by other tasks) so we can do the tasks in any order. But
> if 2.php is initiated after 1.php is done, and 3.php is initiated after
> 2.php is done, and so on, the master.php can be expired, causing the
> remaining tasks not executed. So how can we execute these PHP scripts
> simultaneously?
>
> Regards,
> Lisa Elita
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>