小樱 发表于 2017/9/5 17:29

php测试代码,三行代码,获取xff的用户ip地址 HTTP_X_FORWARDED_FOR

<?php
$xff = getenv('HTTP_X_FORWARDED_FOR');
echo $xff;



页: [1]
查看完整版本: php测试代码,三行代码,获取xff的用户ip地址 HTTP_X_FORWARDED_FOR