Thank you Mike. I checked the link you suggest me and I read about
threads for PHP in the future. So for now I shoud wait for it.
What I need exactly, is the following:
Start manually a PHP program named flip.php wich will do something,
then sleep for a while and after start another program (flop.php) and
close itself. The flop.php program must do the same work of the
flip.php program and after sleeping for a while must call again the
flip.php program. This process will continue about indefinitely. (I
will put a signal on a database table to stop the work of the two
programs).
I can't loop on the same program because it must run in a host that
kill the programs after they have used 120 second of CPU.
I explained you my needs with more details so if you have some idea to
solve my problem, you can help me. As you have read I am finding a way
to make periodically a work, but I dont like to start it manually; I
discarded also the idea of program wich must start my process using a
cron in a batch file from a host, because I can't put it on a host
wich is alwais connected on Internet.
Again many thanks. Franco.
"Mike" <no*****@noemail.com> wrote in message news:<bn**********@nic.grnet.gr>...
I had looked into this a while back and found an article pretty much saying
it's something that php is not currently capable of. However, there was
work in progress to achieve this functionality. Check out this link
http://www.zend.com/zend/week/week97.php
Mike
"Franco Fellico'" <ff******@inwind.it> wrote in message
news:d8**************************@posting.google.c om... Hi.
I would like to start from a PHP program another PHP program in such a
way that the calling program can continue it's execution (after
started the second program, both must be executed in parallel way).
It's is possible to do this? There is someone that can suggest me how
I can reach my objective?
Thank you from Franco in Gaeta (Italy)