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