【可获取JSON数据】工信部ICP备案查询系统数据获取,免验证码通过域名查询调取ICP备案信息

WBOY
Release: 2016-07-25 08:47:04
Original
1779 people have browsed it
调用 http://vote.bi-xenon.cn/checkicp.php 的信息,再对获取到的信息截取即可
注:从一个朋友那里得来的好东西,这种东西现在很少见了,大伙且行且珍惜,哈哈

2014-11-25注:需要JSON的童鞋,可在GET里加入JSON键,值为为任意,
如 http://vote.bi-xenon.cn/checkicp.php?dm=sina.com&json=1 即可获得JSON数据


低调,低调~
  1. $domain= 'so.com';
  2. $url='http://vote.bi-xenon.cn/checkicp.php?dm='.$domain; //网页查询格式
  3. //JSON格式 $url='http://vote.bi-xenon.cn/checkicp.php?json=1&dm='.$domain;
  4. $contents = file_get_contents($url);
  5. preg_match_all("|
状态码:(.*)
查询结果|U", $contents, $out,PREG_PATTERN_ORDER);
  • echo $out;//$out即为是否备案的代码了,2000为已备案,其他的内容就等你就举一反三了~
  • ?> 复制代码


  • source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
    Latest Issues
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!