• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 500
  • Last Modified:

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
0
williamwlk
Asked:
williamwlk
  • 2
  • 2
2 Solutions
 
IanThCommented:
1 see http://www.geobytes.com/iplocator.htm

this could help
http://www.ip2location.com/demo 
I know its not a script
0
 
Chris SandriniSenior 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
 
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now