02 2014 档案
摘要:/** * 获得用户的真实IP地址 * * @return string */function getRealip(){ static $realip = NULL; if ($realip !== NULL) { return $realip; } if (isset($_SERVER)) { if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $arr = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR'])...
阅读全文

浙公网安备 33010602011771号