I\'m using PHP\'s curl_exec() to make a request to an API that has a very long running process. But I don\'t 开发者_Python百科actually need to know the result, I only need the process to be started.
I\'m working on a PHP (Zend Framework) web application that, for each user request, makes multiple calls to external APIs (SOAP and/or REST over HTTP).
Is there any sane way to make a HTTP request asynchronously in PHP without throwing out the response? I.e., something similar to AJAX - the PHP script initiates the request, does it\'s own thing and l
changing a few options and deleting other resources can not I use the same multi handle: $ch1 = curl_init();
If I run a standard cURL_multi_exec function (example below), I get all cURL handles requested at once. I would like to put a delay of 100ms between each request, is there a way to do that? (nothing f
I have this code in which I have a list of remote files (for example images) to download using multi curl:
i want to write a script using 开发者_JS百科curl_multi_init() but i must have to specify the curl_setopt() with my proxy only once and not for each handle, there is a way to solve this with different
This is my code: class facebookConnection { // Allow multi-threading. private $_mch = NULL; private $_properties = array();
Using curl_multi, I have loaded up 3 url\'s and then printed the array. 1) How can I also set a timestamp on output to let me know when each url was run?
I got a hint from someone today that my curl_multi() code is actually working in serial, when my hope was to parallelize the cURL requests.