Register
|
Forum Index
|
FAQ
|
Search
|
Usergroups
|
Log in
Visit HostMySite.com
Forum Index
»
PHP
» Post a reply
Post a reply
Username
Subject
Message body
Emoticons
View more Emoticons
Font colour:
Default
Dark Red
Red
Orange
Brown
Yellow
Green
Olive
Cyan
Blue
Dark Blue
Indigo
Violet
White
Black
Font size:
Tiny
Small
Normal
Large
Huge
Close Tags
Options
HTML is
OFF
BBCode
is
ON
Smilies are
ON
Disable BBCode in this post
Disable Smilies in this post
All times are GMT
Select a forum
HostMySite Forum Topics
----------------
Announcements
General Discussion
Domain Name Information
Email & SmarterMail
VPS (Virtual Private Servers)
Web Design
Programming
Ruby on Rails
ASP & .NET
ColdFusion
PHP
Dedicated Servers
Hosted Exchange and SharePoint Beta
Database
WordPress Blog
Networking Forum
SmarterStats
MIVA Merchant & Ecommerce
Operating Systems
MarketPlace
World's Fastest Server
Topic review
Author
Message
nathacof
Posted: Fri Jul 03, 2009 5:24 pm
Post subject: PHP - Whois and IPWhois
What is Whois?
Wikipedia Article Describing WHOIS
WHOIS (pronounced "who is"; not an acronym) is a query/response protocol which is widely used for querying an official database in order to determine the owner of a domain name, an IP address, or an autonomous system number on the Internet. WHOIS lookups were traditionally made using a command line interface, but a number of simplified web-based tools now exist for looking up domain ownership details from different databases. Web-based WHOIS clients still rely on the WHOIS protocol to connect to a WHOIS server and do lookups, and command-line WHOIS clients are still quite widely used by system administrators. WHOIS normally runs on TCP port 43.
Whois can be used to check the availability of a domain, find contact information for a domain owner, and even determine who owns that IP that has been slamming your server! I've written two PHP functions, one for WHOIS, and one for IPWHOIS. You can find the functions here:
http://neranjara.org/article/title/PHP_WHOIS_and_IPWHOIS_functions
You can see these scripts in action here:
http://neranjara.org/tools/whois
http://neranjara.org/tools/ipwhois
Powered by
phpBB
© phpBB Group
Design by
phpBBStyles.com
|
Styles Database
.
Content ©
DupeDB