你这种程序很多了。。输入网址,点查询。就可以看到下面的信息。就想要为种代码。但是小弟不会写。。就这点分了。。全拿出来了。。我的要是代码哦,。
目标IP 222.73.204.172 
服务器系统 Microsoft-IIS/6.0 
环境平台。ASP.NET

解决方案 »

  1.   

    自己从 数组$Array 里分析需要的部分吧.$Url='www.tianya.cn';
    $Ip=gethostbyname($Url);
    $Array=get_headers('http://'.$Url);
      

  2.   


    你连输出都不懂吗?显然不是学php的 只是来要个代码的.不好意思自己去问google 大叔和百度娘吧
      

  3.   

    $s = 'http://www.zxjcm.cn';
    print_r(get_headers ($s));
    Array
    (
        [0] => HTTP/1.1 200 OK
        [1] => Cache-Control: private
        [2] => Connection: close
        [3] => Date: Mon, 02 Jan 2012 02:45:09 GMT
        [4] => Content-Length: 50477
        [5] => Content-Type: text/html
        [6] => Server: Microsoft-IIS/6.0
        [7] => X-Powered-By: ASP.NET
        [8] => Set-Cookie: ASPSESSIONIDACDACSQC=JDPNBIIAJHEHFKDMOLCKGCAJ; path=/
    )
      

  4.   

    phpinfo()里面也有系统环境的信息
      

  5.   

    哈哈。。你果然说对了。我不是学PHP的。。