/*when using curl multi exec you may need to pass some data about the request
and retrieve that data whenever the request is done processing you can
use curl's private data feature like so to achieve this:*/
curl_setopt($curl_handle, CURLOPT_PRIVATE, $someIndex);
//.... then later
$info = curl_multi_info_read($handle);//read the info
$someIndex = curl_getinfo($info['handle'], CURLINFO_PRIVATE);