Net_Whois
[ class tree: Net_Whois ] [ index: Net_Whois ] [ all elements ]

Class: Net_Whois

Source Location: /Net_Whois-1.0.1/Whois.php

Class Overview

PEAR
   |
   --Net_Whois

Looks up records in the databases maintained by several Network Information Centres (NICs). This class uses PEAR's Net_Socket:: class.


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 41]
Looks up records in the databases maintained by several Network Information Centres (NICs). This class uses PEAR's Net_Socket:: class.


[ Top ]


Method Detail

Net_Whois (Constructor)   [line 103]

Net_Whois Net_Whois( )

Constructs a new Net_Whois object
  • Access: public

[ Top ]

query   [line 122]

mixed query( string $domain, [string $userWhoisServer = null])

Connect to the necessary servers to perform a domain whois query. Prefix queries with a "!" to lookup information in InterNIC handle database.

Add a "-arin" suffix to queries to lookup information in ARIN handle database.

  • Return: returns a PEAR_Error on failure, or a string on success
  • Access: public

Parameters:

string   $domain     IP address or host name
string   $userWhoisServer     server to query (optional)

[ Top ]

queryAPNIC   [line 160]

mixed queryAPNIC( string $domain)

Use the Asia/Pacific Network Information Center (APNIC) database.

It contains network numbers used in East Asia, Australia, New Zealand, and the Pacific islands.

  • Return: returns a PEAR_Error on failure, or a string on success
  • Access: public

Parameters:

string   $domain     IP address or host name

[ Top ]

queryIPv6   [line 176]

mixed queryIPv6( string $domain)

Use the IPv6 Resource Center (6bone) database. It contains network names and addresses for the IPv6 network.
  • Return: returns a PEAR_Error on failure, or a string on success
  • Access: public

Parameters:

string   $domain     IP address or host name

[ Top ]

queryRADB   [line 193]

mixed queryRADB( string $ipAddress)

Use the Route Arbiter Database (RADB) database. It contains route policy specifications for a large number of operators' networks.
  • Return: returns a PEAR_Error on failure, or a string on success
  • Access: public

Parameters:

string   $ipAddress     IP address

[ Top ]


Documentation generated on Sat, 20 Dec 2008 04:30:04 -0500 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.