+ -
当前位置:首页 → 问答吧 → curl谁能采集baidu的whois详细信息

curl谁能采集baidu的whois详细信息

时间:2011-09-07

来源:互联网

curl如何采集到baidu的whois详细信息包括邮箱 电话等等,急求谢谢,我采集到的都是非详细的信息
function curl($whois_server,$domain){
$ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $whois_server.":43");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);

curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "=".$domain."\r\n");
$whois = curl_exec ($ch);
return $whois;
}

echo "<pre>".curl("whois.internic.net","baidu.com")."</pre>";
echo "<br/>Enter<br/>";
echo "<pre>".curl("whois.markmonitor.com","baidu.com")."</pre>";
这样查不出来.... 谢谢 求原因

作者: htaiyang801   发布时间: 2011-09-07

whois.internic.net & whois.markmonitor.com unable to open the browser.

作者: PhpNewnew   发布时间: 2011-09-07

相关阅读 更多

热门下载

更多