support for .jp whois english output
This commit is contained in:
parent
6a3bc5d74f
commit
3a7c138cae
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
2010/08/23
|
||||
- improved extra whois parameters for better
|
||||
support of .jp whois
|
||||
|
||||
2010/08/10
|
||||
- joined common whois field list
|
||||
- some minor fixes
|
||||
|
|
|
@ -242,7 +242,7 @@ class Whois extends WhoisClient
|
|||
// Special parameters ?
|
||||
|
||||
if (isset($this->WHOIS_PARAM[$server]))
|
||||
$this->Query['server'] = $this->Query['server'].'?'.$this->WHOIS_PARAM[$server].$domain;
|
||||
$this->Query['server'] = $this->Query['server'].'?'.str_replace('$',$domain,$this->WHOIS_PARAM[$server]);
|
||||
|
||||
return $this->GetData('',$this->deep_whois);
|
||||
}
|
||||
|
|
|
@ -54,9 +54,10 @@ $this->NON_UTF8 = array(
|
|||
/* If whois Server needs any parameters, enter it here */
|
||||
|
||||
$this->WHOIS_PARAM = array(
|
||||
'com.whois-servers.net' => 'domain =',
|
||||
'net.whois-servers.net' => 'domain =',
|
||||
'de.whois-servers.net' => '-T dn,ace '
|
||||
'com.whois-servers.net' => 'domain =$',
|
||||
'net.whois-servers.net' => 'domain =$',
|
||||
'de.whois-servers.net' => '-T dn,ace $',
|
||||
'jp.whois-servers.net' => '$/e'
|
||||
);
|
||||
|
||||
/* TLD's that have special whois servers or that can only be reached via HTTP */
|
||||
|
|
Loading…
Reference in a new issue