Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- How to asynchrously POST a HTTP request?
December 16, 2006, 11:18 pm
rate this thread
app regarding certain changes.
Since I don't need to get an answer back, I'd like to fire-and-forget
the POST request asynchronously.
An option might be to create a new PHP process, forward my data to the
new instance and continue execution in the main one.
Are there other options? Options, which don't require to interact with
the OS directly?
Re: How to asynchrously POST a HTTP request?
no, you don't need to do this
you can use the cURL PHP extension to do this really easily
here's an example:
$curl = curl_init("http://www.mypostapp.com/blah/foo ");