180it.com 学无止境 - php 安全过滤后获取IP地址 的评论
type: channel
link: http://www.180it.com/archives/1764/
description: function getIP() { $realip = ''; //设置默认值 if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { ...