Curl實現網頁代理proxy

$requestUrl = 'ip138.com'; $ch = curl_init(); $timeout = 5; curl_setopt($ch, CURLOPT_URL, $requestUrl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
相關文章
相關標籤/搜索