I was looking for a way to simulate mutiples thread in php. The idea is to call several php in parallel without waiting for each one.
This will be used for requesting paralell authentification (and other queries) on several database where the "velocity" of the answer is not known.
A bare bones methods to enable that is to execute a dynamic shell command like:
wget "www.localhost.com/thread.php?x=1"&;
wget "www.localhost.com/thread.php?x=2"&;
wget "www.localhost.com/thread.php?x=3"&;
... etc
i think it is not to elegant and efficient.
Do you have other solution to this?
Thank in advance