Re: Multithreading/Parallel Processing with PHP
- From: "Chung Leong" <chernyshevsky@xxxxxxxxxxx>
- Date: 30 Sep 2005 06:49:22 -0700
The easiest way is to do an internal HTTP look-up, basically letting
the web server handle the multitasking for you. Open a bunch of HTTP
connections to http://localhost/????.php, save the handles into an
array, then keep fgets() each until feof() return true for all of them.
Interprocess communication is simple, as the child script only need to
echo messages to the output stream.
.
- Prev by Date: Re: Array Remove
- Next by Date: Re: grabing email addresses
- Previous by thread: Image display that will change for every 5 sec.
- Next by thread: Re: grabing email addresses
- Index(es):