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

Discussions regarding API development - so not necessarily the core codebase or database - but things to connect to it, either remotely or in conjunction to the database

Moderator: Moderators

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

Postby Guest on Thu Apr 21, 2005 8:53 am

Hey,

I am developing a extention for Typo3.

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

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

cheers,
Ries
Guest
Expert
 

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

Postby bfolkens on Thu Apr 21, 2005 2:47 pm

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
bfolkens
Site Admin
 
Posts: 154
Joined: Tue Feb 22, 2005 8:09 am

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

Postby rvt on Thu Apr 21, 2005 3:44 pm

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
rvt
n00b
 
Posts: 5
Joined: Thu Apr 21, 2005 8:52 am


Return to API development

Who is online

Users browsing this forum: No registered users and 3 guests

cron