|
curl_multi_init
Returns a new cURL multi handle
(PHP 5)
Example 435. curl_multi_init() exampleThis example will create two cURL handles, add them to a multi handle, and then run them in parallel. <?php Code Examples / Notes » curl_multi_initsnoyes
In the example shown, the calls to curl_multi_remove_handle() should include the resource as the first parameter: curl_multi_remove_handle($mh, $ch1); curl_multi_remove_handle($mh, $ch2); |