[EXTENSION] EGeoIP Extension

This extension allows you to easily integrate the geoPlugin webservice into your Yii applications.

Please use this forum post for suggestions / bug reports / positive feedback.

To download please go to: http://www.yiiframework.com/extension/egeoip/

Hi

I was able to use this plugin in the local and could get the local server information by using [remote-adr] in place of ip. But when I host this I am getting the server ip - address instead of my local geo location informaion. However, when I debug, the url formed when executed in the browser gives the local information, but when executed in the page, it gives server information.

Can you please help…

Cheers

Raja

Which server variable are you using to get the IP address?




$ip=$_SERVER['REMOTE_ADDR'];