lilmer Posted January 22, 2015 Share Posted January 22, 2015 Our website now is using Proxy we would like to get the Visitory IP. We try to get using HTTP_X_FORWARDED_FORbut it seems that doesn't get the IP. Were running the site on IIS. Quote Link to comment https://forums.phpfreaks.com/topic/294119-get-client-ip-address-thorught-proxy/ Share on other sites More sharing options...
requinix Posted January 22, 2015 Share Posted January 22, 2015 Look in $_SERVER for a request header with the forwarded IP address. There are a couple possibilities. That's the only place to look so if it's not there then you can't get it at all. Quote Link to comment https://forums.phpfreaks.com/topic/294119-get-client-ip-address-thorught-proxy/#findComment-1503708 Share on other sites More sharing options...
lilmer Posted January 26, 2015 Author Share Posted January 26, 2015 I try to check using phpinfo() and I get $_SERVER["HTTP_X_REAL_IP"] Quote Link to comment https://forums.phpfreaks.com/topic/294119-get-client-ip-address-thorught-proxy/#findComment-1504206 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.