Solved

IP Information Script

Posted on 2012-04-10
5
474 Views
Last Modified: 2013-12-25
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
Comment
Question by:williamwlk
  • 2
  • 2
5 Comments
 
LVL 30

Assisted Solution

by:IanTh
IanTh earned 150 total points
ID: 37826904
1 see http://www.geobytes.com/iplocator.htm

this could help
http://www.ip2location.com/demo 
I know its not a script
0
 
LVL 11

Accepted Solution

by:
un1x86 earned 350 total points
ID: 37827500
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
 

Author Comment

by:williamwlk
ID: 37828312
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
 
LVL 11

Expert Comment

by:un1x86
ID: 37830003
just download the phpfile

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

and update it as you like
0
 

Author Closing Comment

by:williamwlk
ID: 37833720
Thanks BUDs.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now