Re: [PHP] Tracking IP Addresses

2003-10-04 Thread Mika Tuupola
On Sun, 5 Oct 2003, Mika Tuupola wrote:

> On Fri, 3 Oct 2003, Stephen Craton wrote:
> 
> > I'm wanting to track IP addresses by pinpointing their geological location
> > (country and whatever) but I have no idea how to go about doing this. I've
> > been searching on the net and PHP websites all day but with no luck. Can
> > anyone point me towards a tutorial site or explain to it for me? Thanks in
> > advance!
> 
>   http://www.appelsiini.net/~tuupola/php/I18N_ISO_3166/

Argh, sorry wrong link. I ment:

http://www.appelsiini.net/~tuupola/php/I18N_IP2Country/

-- 
Mika Tuupola  http://www.appelsiini.net/~tuupola/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Tracking IP Addresses

2003-10-04 Thread Mika Tuupola
On Fri, 3 Oct 2003, Larry Rosenman wrote:

> IP's are not locked to a geographical area.
> Period.

APNIC, RIPE, ARIN and LACNIC store country information
on assigned ip network blocks like this:

-cut-
apnic|MO|asn|4609|1|19950615|allocated
apnic|KR|asn|4670|1|19950616|allocated
apnic|SB|ipv4|202.63.254.0|512|19950618|assigned
apnic|JP|ipv4|202.232.0.0|262144|19950618|allocated
-cut-

this is where the ip to country databases get their information
from.

-- 
Mika Tuupola  http://www.appelsiini.net/~tuupola/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Tracking IP Addresses

2003-10-04 Thread Mika Tuupola
On Fri, 3 Oct 2003, Stephen Craton wrote:

> I'm wanting to track IP addresses by pinpointing their geological location
> (country and whatever) but I have no idea how to go about doing this. I've
> been searching on the net and PHP websites all day but with no luck. Can
> anyone point me towards a tutorial site or explain to it for me? Thanks in
> advance!

http://www.appelsiini.net/~tuupola/php/I18N_ISO_3166/

-- 
Mika Tuupola  http://www.appelsiini.net/~tuupola/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Tracking IP Addresses

2003-10-03 Thread Cameron Metzke
Well couldnt this be done with the majority of browsers, im not sure myself
but i remember reading somewhere that you can "ask" the browser where the
the user is ?. I think it has something to do with when the system is setup
the country is recorded ? might be a windows only thing again im not sure.
"Evan Nemerson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Well you're going to need to play with ARIN, APNIC, and RIPE. First,
figure
> out which group the IP belongs to, then query their database. That will
> provide a good hint as to the location, but it's far from perfect. You
only
> get the location of the people who own that block. So everyone w/ AOHell
will
> appear to be in $wherever_aohell_is_based
>
> It's a good starting point, though. Knowing my addr would allow you to
find
> out I live in San Diego...
>
>
> On Friday 03 October 2003 01:19 pm, Stephen Craton wrote:
> > Hello,
> >
> >
> >
> > I'm wanting to track IP addresses by pinpointing their geological
location
> > (country and whatever) but I have no idea how to go about doing this.
I've
> > been searching on the net and PHP websites all day but with no luck. Can
> > anyone point me towards a tutorial site or explain to it for me? Thanks
in
> > advance!
> >
> >
> >
> > Thanks,
> >
> > Stephen Craton
> >
> > http://www.melchior.us -- http://www.melchior.us/portfolio
>
> --
> Evan Nemerson
> [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Tracking IP Addresses

2003-10-03 Thread Evan Nemerson
Well you're going to need to play with ARIN, APNIC, and RIPE. First, figure 
out which group the IP belongs to, then query their database. That will 
provide a good hint as to the location, but it's far from perfect. You only 
get the location of the people who own that block. So everyone w/ AOHell will 
appear to be in $wherever_aohell_is_based

It's a good starting point, though. Knowing my addr would allow you to find 
out I live in San Diego...


On Friday 03 October 2003 01:19 pm, Stephen Craton wrote:
> Hello,
>
>
>
> I'm wanting to track IP addresses by pinpointing their geological location
> (country and whatever) but I have no idea how to go about doing this. I've
> been searching on the net and PHP websites all day but with no luck. Can
> anyone point me towards a tutorial site or explain to it for me? Thanks in
> advance!
>
>
>
> Thanks,
>
> Stephen Craton
>
> http://www.melchior.us -- http://www.melchior.us/portfolio

-- 
Evan Nemerson
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Tracking IP Addresses

2003-10-03 Thread Chris W. Parker
Stephen Craton 
on Friday, October 03, 2003 1:19 PM said:

> I'm wanting to track IP addresses by pinpointing their geological
> location (country and whatever) but I have no idea how to go about
> doing this. I've been searching on the net and PHP websites all day
> but with no luck. Can anyone point me towards a tutorial site or
> explain to it for me?

Try here: http://ip-to-country.directi.com/



chris.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Tracking IP Addresses

2003-10-03 Thread Marek Kilimajer
Stephen Craton wrote:
So I'm going to have to use a 3rd party script? Is there not a way to make
the IP tracker on your own in any way?
You can write a script that queries your own ip2geodata database but you 
would need the database in the first place.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Tracking IP Addresses

2003-10-03 Thread Larry Rosenman
IP's are not locked to a geographical area.

Period.

LER

--On Friday, October 03, 2003 15:46:46 -0500 Stephen Craton 
<[EMAIL PROTECTED]> wrote:

So I'm going to have to use a 3rd party script? Is there not a way to make
the IP tracker on your own in any way?
Thanks,
Stephen Craton
http://www.melchior.us -- http://www.melchior.us/portfolio
-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 3:31 PM
To: Stephen Craton
Cc: PHP List
Subject: RE: [PHP] Tracking IP Addresses
Thanks, but how would I get the results in PHP? What I'm trying to do
involves getting the user's IP address then finding where they are, like
what country, and then showing content specific stuff.
Good luck tracking AOL IPs :)  They seem to use a common pool across the
world.  That said, I recall that the mysql folks use some kind of
commercial system from a company called MaxMind...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature


RE: [PHP] Tracking IP Addresses

2003-10-03 Thread Stephen Craton
So I'm going to have to use a 3rd party script? Is there not a way to make
the IP tracker on your own in any way?

 
Thanks,
Stephen Craton
http://www.melchior.us -- http://www.melchior.us/portfolio
 

-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 03, 2003 3:31 PM
To: Stephen Craton
Cc: PHP List
Subject: RE: [PHP] Tracking IP Addresses

> Thanks, but how would I get the results in PHP? What I'm trying to do
> involves getting the user's IP address then finding where they are, like
> what country, and then showing content specific stuff.

Good luck tracking AOL IPs :)  They seem to use a common pool across the
world.  That said, I recall that the mysql folks use some kind of commercial
system from a company called MaxMind...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Tracking IP Addresses

2003-10-03 Thread Duncan
> Thanks, but how would I get the results in PHP? What I'm trying to do
> involves getting the user's IP address then finding where they are, like
> what country, and then showing content specific stuff.

Good luck tracking AOL IPs :)  They seem to use a common pool across the
world.  That said, I recall that the mysql folks use some kind of commercial
system from a company called MaxMind...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Tracking IP Addresses

2003-10-03 Thread Stephen Craton
Thanks, but how would I get the results in PHP? What I'm trying to do
involves getting the user's IP address then finding where they are, like
what country, and then showing content specific stuff.

 
Thanks,
Stephen Craton
http://www.melchior.us -- http://www.melchior.us/portfolio
 

-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 03, 2003 3:23 PM
To: Stephen Craton
Cc: PHP List
Subject: Re: [PHP] Tracking IP Addresses

On Fri, 2003-10-03 at 16:19, Stephen Craton wrote:
> Hello,
> 
> I'm wanting to track IP addresses by pinpointing their geological location
> (country and whatever) but I have no idea how to go about doing this. I've
> been searching on the net and PHP websites all day but with no luck. Can
> anyone point me towards a tutorial site or explain to it for me? Thanks in
> advance!

Google query: location of an ip address

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Tracking IP Addresses

2003-10-03 Thread Robert Cummings
On Fri, 2003-10-03 at 16:19, Stephen Craton wrote:
> Hello,
> 
> I'm wanting to track IP addresses by pinpointing their geological location
> (country and whatever) but I have no idea how to go about doing this. I've
> been searching on the net and PHP websites all day but with no luck. Can
> anyone point me towards a tutorial site or explain to it for me? Thanks in
> advance!

Google query: location of an ip address

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php