Hi,
I'm working on a website, which sends two HTTP requests to other servers. The data sent is logging data, so I don't need to process the HTTP response necessarily.
Is it possible to create a seperate thread in PHP for those HTTP requests?
Or is it possible to send the HTTP requests asynchronously?
As already mentioned, its not necessary to process the HTTP response, but it would be nice if it was possible.
Thanks a lot!
multithreaded programming or asynchronous HTTP request
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
You could just send the request headers and move on.... fsockopen() would be used here, or cURL.
proc_open() could be of interest too, but I wouldn't recommend it.
proc_open() could be of interest too, but I wouldn't recommend it.