【求助】这个才能获取到这个页面内容,不知这个页面做了如何限制?
$url = 'http://app1.sfda.gov.cn/datasearch/face3/search.jsp?tableId=120&keyword=SC11411061110615';
$url="http://www.qq.com";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
curl_setopt($ch, CURLOPT_USERAGENT,_USERAGENT_);
curl_setopt($ch, CURLOPT_REFERER,_REFERER_);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$lines_string = curl_exec($ch);
curl_close($ch);
echo $lines_string;