Hot to spawn parallel process from script?
| From: | rolis | Date: | Sun, 22 Oct 2000 18:22:54 +0000 |
| Subject: | Hot to spawn parallel process from script? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-21650@lists.php.net to get a copy of this message | ||
Hi,
How to spawn parallel proces from php script?
I think system() or exec() are not loaded parallel to calling script.
Or am i not right?
In fact i am dealing with ftp uploads.
And it could be a big amount of big files to upload there.
And i can't wait till all of them are finished.
I.e.
<?
...
system($PATH_TO_PHP." upload_files.php3") ;
echo "I can't wait for this massege for a long time<br>" ;
...
?>
Let's say file upload takes 1h.
But i don't want to wait 1h to see message:
"I can't wait for this massege for a long time".
I want my script to parse further immediately after
system wakes up FTP upload script.
* rolis *