Re: Geo IP Location help needed...

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

 



On Oct 24, 2011, at 6:23 PM, Bastien wrote:

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

> 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

Thanks Bastien,

simple code on my part - so no debug stuff...

 <?php
$ip = $_SERVER['REMOTE_ADDR'];
$this = geoip_country_name_by_name($ip);
echo 'The country you are in is : '.$this;
?>

The tester with the error was a friend on his home dsl and also on his smartphone (so no IP spoofing from him)...

but maybe the db is old from - Geo IP Location? hmmm .  how do I check?

the link does not provide any contact info...
http://us3.php.net/manual/en/book.geoip.php


--
Thanks,
Dave - DealTek
dealtek@xxxxxxxxx
[db-11]




-- 
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