$proxyname = "proxy ip"; $proxyport = "port"; curl_setopt ($this->cur, CURLOPT_PROXY, "$proxyname:$proxyport");