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"" <[EMAIL PROTECTED]> wrote in message 004901c0ffd5$90c63680$a6fc2bca@telkomnetnstan">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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]