Sending separate threads with PHP?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Payton
Forum Commoner
Posts: 33
Joined: Sun Dec 06, 2009 4:03 pm

Sending separate threads with PHP?

Post 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?
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Sending separate threads with PHP?

Post by Eran »

You can also use exec/shell into a separate output buffer - http://joseph.randomnetworks.com/archiv ... rk-in-php/
Post Reply