sfogliando la guidazza di php ho trovato questo...
codice:
It's important to note that if you are running a series of system() commands in a loop, you need to include the second argument in order for them to run synchonously.
ie)
// this will execute process.php asynchronously; not waiting for completion before executing the next one.
$array = array('apple', 'banana', 'pear');
foreach($array as $i)
{
system("php process.php \"fruit=$i\"");
}
// this will execute process.php 3 times, waiting for the prior command to complete before starting a new one
$array = array('apple', 'banana', 'pear');
foreach($array as $i)
{
system("php process.php \"fruit=$i\"", $status);
}
ke purtroppo nn permette cio ke voglio realizzare io.. :_(
:_(
xke utilizzando il programma "php" ammesso ke io ne sia abilitato in un server ke non è mio(cosa ke mi sembra moooolto strano) non posso fargli processare in modo asincrono dal kiamante uno cript ke sta su un altro server... e possibile ke nn esista un modo per farlo???
Aiutatemiiiiiiiiiii!!!