获得ip

方法:

1.get_client_ip()

2.gethostbyname(gethostbyaddr($_SERVER['REMOTE_ADDR']))

posted on 2015-11-22 17:28  阳雪凌空  阅读(151)  评论(0编辑  收藏  举报

导航