curl-multi
curl_exec: how to cancel a long running HTTP request?
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.[详细]
2023-04-13 01:43 分类:问答Handling multiple outbound API calls in a PHP web application
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).[详细]
2023-04-11 09:50 分类:问答Asynchronous HTTP requests in PHP
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[详细]
2023-04-08 22:27 分类:问答PHP cURL multi handle changing opts
changing a few options and deleting other resources can not I use the same multi handle: $ch1 = curl_init();[详细]
2023-03-31 20:54 分类:问答PHP cURL multi_exec delay between requests
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[详细]
2023-03-26 13:53 分类:问答progress function and CURL multi
I have this code in which I have a list of remote files (for example images) to download using multi curl:[详细]
2023-03-23 09:45 分类:问答curl_multi_init with different proxy for each handle?
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[详细]
2023-03-15 06:39 分类:问答PHP Codeigniter curl_multi_init error
This is my code: class facebookConnection { // Allow multi-threading. private $_mch = NULL; private $_properties = array();[详细]
2023-02-16 09:58 分类:问答Exploding array and adding execution timestamp for each bit of data in the 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?[详细]
2023-01-31 06:12 分类:问答Is my use of curl_multi() still serial? If so, how can I parallelize?
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.[详细]
2023-01-26 16:24 分类:问答