News
Guide
API
Wiki
Forum
Community
Places
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Extensions
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
Release Cycle
License
Team
Official Logos and Design
Yii Framework Forum
关于getUserHostAddress()
International
Chinese
qq71151461
(Qq71151461)
October 7, 2011, 9:38am
1
建议在方法里加上isset($_SERVER["HTTP_X_FORWARDED_FOR"])判断
不然squid代理的话,有可能无法获取真实的IP信息