IP Information Script

Hi,

I always have a list of IPs from my system and I always want to know the following:

1. Region (AP/EU/US, etc.)
2. Owner of the IP
3. the ISP that the IP connects to if possible

Do you recommend a script for me?

Thanks and regards,
W
williamwlkAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Chris SandriniConnect With a Mentor Senior System EngineerCommented:
Hi

Here a simple PHP Whois script
http://www.phpeasycode.com/whois/

It is free and easy to implement. You can find a demo here
http://www.phpeasycode.com/showdemo.php?target=/whois/whois.php
0
 
IanThConnect With a Mentor Commented:
1 see http://www.geobytes.com/iplocator.htm

this could help
http://www.ip2location.com/demo 
I know its not a script
0
 
williamwlkAuthor Commented:
Paid services are not so ok with me coz not that i don't wanna pay but that, it is not my core interest yet.

http://www.phpeasycode.com/whois/

this is good enough for me as a start.

But, how can I run it as a script or wrap it in cmd line:

# wget http://www.phpeasycode.com/whois/ [IP]
output
output
output

then, i can reformat it

thax
0
 
Chris SandriniSenior System EngineerCommented:
just download the phpfile

http://www.phpeasycode.com/count.php?target=whois/whois.zip

and update it as you like
0
 
williamwlkAuthor Commented:
Thanks BUDs.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.