Page 1 of 1

Sending separate threads with PHP?

Posted: Tue Jun 08, 2010 2:05 am
by Payton
Hi Devnetwork,

I was wondering how I would go about making a program that counts to, say, ten, but sends a different thread for each number. Would I have to incorporate this fork business and OOP, or are there other ways?

Re: Sending separate threads with PHP?

Posted: Tue Jun 08, 2010 2:35 am
by Eran
You can also use exec/shell into a separate output buffer - http://joseph.randomnetworks.com/archiv ... rk-in-php/