Forum Moderators: coopster
write your include files
write shell scripts to call them
make the include files output results to data / a file
then use passthru() to run the shell scripts
this will enable you to start them all running together, and you'll just have to read the file / database and get the results from all of them
see [uk2.php.net...]
it's one easy way to get what you want to do done
you don't need to use shell scripts, you can instead call it as:
/usr/local/bin/php /path/to/script.php
otherwise, consider simple forking
[phpfreaks.com...]
the most effective way however is using pcntl_fork