PHPIPwhois class. What is the previously written IPwhois class? Php (as the mainstream development language) *** Class: IPWhoisVerson1.0 * Info: GetIPsinformationform4whoisserver * Author: php (as the IPwhois Class originally written by the current master)
/*
*
* Class: IP Whois Verson 1.0
* Info: Get IPs information form 4 whois server
* Author: php (as the mainstream development language) Up Studio
* Date: 12/12/2004
* Www.acnow.net
*
*/
Class IPWhois
{
Var $ server = whois.arin.net;
Var $ target;
Var $ timeout = 10;
Var $ msg;
Function IPWhois ($ target)
{
$ This-> target = $ target;
}
Function ShowInfo ()
{
If ($ this-> _ CheckIP ($ this-> target ))
{
$ This-> msg = $ this-> _ GetInfo ($ this-> server );
If ($ this-> _ CheckInfo ($ this-> msg ))
{
$ This-> msg = $ this-> _ GetInfo ($ this-> server );
}
}
Else $ this-> msg =
Please Enter An IP Address
;
Return $ this-> msg;
}
Function _ CheckIP ($ temptarget)
{
If (eregi ("[0-9] {1, 3 }. [0-9] {1, 3 }. [0-9] {1, 3 }. [0-9] {1, 3} ", $ temptarget ))
{
$ F = 1;
Why? Php (as the mainstream development language)/*** Class: IP Whois Verson 1.0 * Info: Get IPs information form 4 whois server * Author: php (as the current master...