Page 1 of 1

Difference between ipLocate($ip) ipRoughLocate($ip)

PostPosted: Thu Apr 21, 2005 8:53 am
by Guest
Hey,

I am developing a extention for Typo3.

I want to know, what's the difference between:

ipLocate($ip) & ipRoughLocate($ip)???

cheers,
Ries

Re: Difference between ipLocate($ip) ipRoughLocate($ip)

PostPosted: Thu Apr 21, 2005 2:47 pm
by bfolkens
Anonymous wrote:Hey,

I am developing a extention for Typo3.

I want to know, what's the difference between:

ipLocate($ip) & ipRoughLocate($ip)???

cheers,
Ries


ipLocate returns unknown city / unknown country when it doesn't know one or the other

ipRoughLocate attempts to give you a guess if it can't find the city based on a broader range of class 'c' addresses


For integration I always use ipLocate - just my 2c

Re: Difference between ipLocate($ip) ipRoughLocate($ip)

PostPosted: Thu Apr 21, 2005 3:44 pm
by rvt
bfolkens wrote:
Anonymous wrote:Hey,

I am developing a extention for Typo3.

I want to know, what's the difference between:

ipLocate($ip) & ipRoughLocate($ip)???

cheers,
Ries


ipLocate returns unknown city / unknown country when it doesn't know one or the other

ipRoughLocate attempts to give you a guess if it can't find the city based on a broader range of class 'c' addresses


For integration I always use ipLocate - just my 2c


Ahhh...

ok thanks