Take the 2-minute tour ×

Part of my code:

    curl_multi_exec($mh, $running);
    $done = curl_multi_info_read($mh);
 while($running > 0);

This code results warning Warning: curl_getinfo(): supplied argument is not a valid cURL handle resource and i don't understand why. When i doing var_dump($done['handle']); it's return resource(7) of type (curl). Please, help me find the error.

share|improve this question
I think you should just look at good examples at php.net/manual/en/function.curl-multi-exec.php .. your code has major errors ... –  Baba Sep 12 '12 at 12:10
Thanks!) You are right. First example solve my problem. –  bbyby Sep 12 '12 at 12:18
You are welcome .... –  Baba Sep 12 '12 at 12:19
add comment


Your Answer



Browse other questions tagged or ask your own question.