2012年12月13日
摘要: //获取客户端的ip function _getClientIp(){ $unknown = 'unknown'; if ( isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] && strcasecmp($_SERVER['HTTP_X_FORWARDED_FOR'], $unknown) ) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } e 阅读全文
posted @ 2012-12-13 13:45 mingaixin 阅读(213) 评论(0) 推荐(0) 编辑