echo $_SERVER['HTTP_USER_AGENT']; //获取客户端浏览器信息
echo $_SERVER['REMOTE_ADDR'] //获取客户端用户的ip
echo $_SERVER['REMOTE_PORT'] //获取客户端浏览页面所使用的端口
echo $_SERVER['HTTP_REFERER'] //获得从哪个页面跳转过来的
echo $_SERVER['HTTP_USER_AGENT']; //获取客户端浏览器信息
echo $_SERVER['REMOTE_ADDR'] //获取客户端用户的ip
echo $_SERVER['REMOTE_PORT'] //获取客户端浏览页面所使用的端口
echo $_SERVER['HTTP_REFERER'] //获得从哪个页面跳转过来的
转载于:https://www.cnblogs.com/xiongwei89/archive/2013/03/18/2966820.html