473,471 Members | 2,613 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

IP information

Hi Folk

As part of my statistical analysis of the visitors to my site, I record
people's IP address. Is there an easy way to get more information (where
people are from, maybe even long. and latitude) or perhaps translate the IP
address into a named address?

TIA
Nicolaas

Mar 12 '06 #1
4 2767
windandwaves wrote:
As part of my statistical analysis of the visitors to my site, I
record people's IP address. Is there an easy way to get more
information (where people are from, maybe even long. and latitude) or
perhaps translate the IP address into a named address?


For the latter, you could use gethostbyaddr():

http://www.php.net/manual/nl/function.gethostbyaddr.php

To get detailed information, you could use a database service like the one
from maxmind:

http://www.maxmind.com/app/php
JW
Mar 12 '06 #2
windandwaves wrote:
As part of my statistical analysis of the visitors to my site, I record
people's IP address. Is there an easy way to get more information (where
people are from, maybe even long. and latitude)
Google: Geo IP.
perhaps translate the IP address into a named address?


Of course -- it's called DNS.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Mar 12 '06 #3
Janwillem Borleffs wrote:
windandwaves wrote:
As part of my statistical analysis of the visitors to my site, I
record people's IP address. Is there an easy way to get more
information (where people are from, maybe even long. and latitude) or
perhaps translate the IP address into a named address?

For the latter, you could use gethostbyaddr():

http://www.php.net/manual/nl/function.gethostbyaddr.php


I searched for IP on php.net, but could not find it. Sorry and thank you

To get detailed information, you could use a database service like
the one from maxmind:

http://www.maxmind.com/app/php
That is just super cool.

Thank you
Nicolaas

Mar 13 '06 #4
You can visit http://www.ip2location.com for their free PHP module.

Mar 15 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Emine Ekin | last post by:
/*Apologize for multiple posts*/ FIRST CALL FOR PAPERS ADVIS 2006 Fourth Biennial International Conference on Advances in Information Systems 18-20 October, 2006 Izmir, Turkey
8
by: Raquel | last post by:
The "DB2 Information Center" (http://publib.boulder.ibm.com/infocenter/db2help/index.jsp) seems to be an amazing resource and as far as I could tell (after browsing through various sections of...
5
by: Sami | last post by:
Please bear with me, and if you answer this question, please do it step by step. I am new at Access, not at all sophisticated. I am using Office XP. This will need to be read in Access for...
6
by: Markus Wildgruber | last post by:
Hi! How can I get information about the system my application is running on? I found the System.Environment class that provides me with some of the desired information but some of them not in...
6
by: Ian Williamson | last post by:
Greetings, My company has an ASP.NET based enterprise product that is undergoing some changes and I need some community input to help solve a problem. In the current implementation, any given...
0
by: Derek | last post by:
I am creating an intranet using Visual Web Developer Express Edition. Everything has been working OK until yesterday when I started getting 62 messages all beginning "Could not find schema...
1
by: keke3905 | last post by:
I really would appreciate some help on this assignment. I need to make GUI boxes to display the system info such as on Microsoft Office. I have some code but not sure where to go with the rest of...
0
by: Lester Knutsen | last post by:
A two-day IBM Informix and DB2 User Group Technical Conference - Friday and Saturday, December 8-9, 2006 Location - Fairview Park Marriott, Falls Church, VA (near Washington D.C.)...
10
by: =?Utf-8?B?SmFtZXMgV29uZw==?= | last post by:
Hi everybody, I'm trying to use the new VB 2008 right now and I want to know how to preset the company name and copyright informtion in Assembly Information. In my current VB 2005, company name...
1
by: sora | last post by:
Hi, I've developed a MFC program under VS 6.0. My debugger *was* working fine and I've used it often for my project. Then, one day, the errors below appear and they prevent me from using the...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.