I have searched the web in vain for an answer to this.
I have a script that grabs HTML from several other websites (like Yahoo.com and others) using GET and POST requests.
The script runs slowly because it must wait for each website to reply before making a request to the next website.
I would like to launch requests to all of the websites at the same time, so that each of websites can process my request at the same time. Then, when I have received replies from all of the websites, my script could finish running.
The php.net documentation talks about Process Control functions but says they cannot be used in a webserver situation. So that is no help.
Can PHP do this? If not, which web server languages can?
Many thanks in advance for any reply!
Erik