<?phpsession_start();$r=curl_post('http://convert.jimimg.xxx/c.php?k=v&c=d',array('e'=>'f'));echo$r;
//only support get, no post, support 301/302$_SESSION['curl_get']['loops']=0;$_SESSION['curl_get']['max_loops']=3;functioncurl_get($url,$headerShow=true){$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,false);curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($ch,CURLOPT_HEADER,$headerShow);//curl_setopt($ch, CURLOPT_P
...
继续阅读
(24)