Tweeter buttonFacebook buttonLinkedin button



Fork alternative in PHP

This is an alternative of fork in PHP with exec() function:

exec("/bin/ping 192.168.0.1 -c 12 2>/dev/null >&- <&- >/dev/null &");

Sources:
http://joseph.randomnetworks.com/archives/2005/10/21/fake-fork-in-php/
http://immike.net/blog/2007/04/08/fork-php-and-speed-up-your-scripts/

0 Responses to “Fork alternative in PHP”


  1. No Comments

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word




Slideshow

Get the Flash Player to see the slideshow.

 

December 2009
M T W T F S S
« Nov   Jan »
 123456
78910111213
14151617181920
21222324252627
28293031