/***获得用户的真实IP地址**@accesspublic*@returnstring*/functionreal_ip(){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']);/*取X-Forwarded...
查看全文