Net_Whois::query()
Параметр
string $query - the Whois database object to look up
string $server - the name of the server or its IP address
Throws
Таблица 50-1. Возможные значения PEAR_Error
Error code | Error message | Reason | Solution |
---|---|---|---|
every | " Error connecting to server (Net_Socket says: Error-Message.) " | Connection to server failed | Check typing of server address and make sure the host is connected to the network. |
Замечание: You will not get a PEAR_Error, if the query fails due to a not existing whois object. This can be only done by checking the data returned by query().
Пример
Пример 50-1. Using Whois-query()
|
Пред. | Начало | След. |
Net_Whois | Уровень выше | Числа |