Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001062

Re: [PHP-DB] Executing several PHP scripts simultaneously?? From: Hugh Bothwell (hugh_bothwell <email protected>)
Date: 06/28/01

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 <email protected>> wrote in message
news:004901c0ffd5$90c63680$a6fc2bca <email protected>
> 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 <email protected>
> For additional commands, e-mail: php-db-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>