PHP获取用户访问IP地址的5种方法
摘要:IP地址获得的五种方法: <?php //方法1: $ip = $_SERVER["REMOTE_ADDR"]; echo $ip; //方法2: $user_IP = ($_SERVER["HTTP_VIA"]) ? $_SERVER["HTTP_X_FORWARDED_FOR"] : $_SER
阅读全文
posted @ 2016-02-28 13:22
posted @ 2016-02-28 13:22
posted @ 2016-02-26 23:38
posted @ 2016-02-26 00:41
posted @ 2016-02-24 17:36
posted @ 2016-02-19 13:49
posted @ 2016-02-02 21:36