摘要:
PHP.ini文件开启下面2个功能: extension=php_sockets.dll extension=php_openssl.dll 阅读全文
摘要:
echo $_SERVER['HTTP_HOST']; //echo $_SERVER['REQUEST_URI']; $getIp=$_SERVER["REMOTE_ADDR"]; echo 'IP:',$getIp; echo ''; $content = file_get_contents("http://api.map.baidu.com/location/ip?ak=YWNt8VcHK... 阅读全文