Re: Geo IP Location help needed...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2011-10-24, at 9:07 PM, DealTek <dealtek@xxxxxxxxx> wrote:

> newbie question!
> 
> Hi all,
> 
> So, I had - Geo IP Location -  installed for me on my VPS server by a network tech
> 
> http://us3.php.net/manual/en/book.geoip.php
> 
> 
> then I used: 
> 
> geoip_country_name_by_name(xxx) to display the country by name
> 
> basically works ok - however a few people say that my page: 
> 
> 1- will display their remote ip with $_SERVER['REMOTE_ADDR'];
> 
> 2- ! but for some - the country name is blank.... ! (defeats the whole purpose)
> 
> - I am not sure how:  Geo IP Location actually works...  
> 
> Q: Am I correct in assuming that when a country name does NOT show - is it because that particular IP is NOT seen by Geo IP Location?
> 
> We just installed the latest version (I think) yesterday.... 
> 
> Is it reading from some old outdated database - or ????
> 
> 
> 
> Q: Is there some code that can ALWAYS tell the country name of the IP?
> 
> 
> 
> 
> --
> Thanks,
> Dave - DealTek
> dealtek@xxxxxxxxx
> [db-11]
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

Dave,

If the IP is showing, could there be some left over debug in some function?

If the IP is not in your list it could be anything from a new range for a region to IP spoofing or some anonymizer or even an old DB

Bastien Koert
905-904-0334
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux