Hi Lisa,
... on *nix you could use exec( "/path/to/php/php.exe your-first-php-script.php &" )
note the ampersand at the end of the command ... this will start the task in
background,
so you can do other things while the script is running in the background.
Hope this helps,
Mike
Michael Rudel
- Web-Development, Systemadministration -
Besuchen Sie uns am 20. und 21. August 2001 auf der
online-marketing-düsseldorf in Halle 1 Stand E 16
___
Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-89207-17
fax: +49-(0)7531-89207-13
e-mail: mailto:[EMAIL PROTECTED]
internet: http://www.suchtreffer.de
___
> -Original Message-
> From: Lisa Elita [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 3:21 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Executing several PHP scripts simultaneously??
>
>
> 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]