applied patch [ 981413 ] Whois Parameter Array
This commit is contained in:
parent
498202fc23
commit
0b95b4b3ff
3 changed files with 19 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
|||
2005/03/02 David Saez <david@ols.es>
|
||||
- fixed SRSPlus detection
|
||||
- applied patch [ 981413 ] Whois Parameter Array
|
||||
thanx to mwelters
|
||||
|
||||
2005/03/01 David Saez <david@ols.es>
|
||||
- fixed Network Solutions detection
|
||||
- ordered list of handlers in gtld.whois
|
||||
|
|
10
main.whois
10
main.whois
|
@ -385,12 +385,10 @@ class Whois {
|
|||
return(array());
|
||||
}
|
||||
|
||||
if ($this->Query["server"] == "com.whois-servers.net") {
|
||||
fputs($ptr, "=".trim($string)."\r\n");
|
||||
}
|
||||
else {
|
||||
fputs($ptr, sprintf("%s\r\n", trim($string)));
|
||||
}
|
||||
if (isset($this->WHOIS_PARAM[$this->Query["tld"]]))
|
||||
fputs($ptr, $this->WHOIS_PARAM[$this->Query["tld"]].trim($string)."\r\n");
|
||||
else
|
||||
fputs($ptr, trim($string)."\r\n");
|
||||
|
||||
// Prepare to receive result
|
||||
$raw = "";
|
||||
|
|
|
@ -26,10 +26,12 @@
|
|||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* servers.whois v18 Markus Welters 2004/06/25 */
|
||||
/* servers.whois v17 ross golder 2003/02/09 */
|
||||
/* servers.whois v16 mark jeftovic 2001/02/28 */
|
||||
|
||||
$this->DATA_VERSION = "17";
|
||||
$this->DATA_VERSION = "18";
|
||||
|
||||
$this->DATA = array(
|
||||
"at" => "atnic",
|
||||
"au" => "aunic",
|
||||
|
@ -60,6 +62,13 @@ $this->DATA = array(
|
|||
"ipw" => "ipw" // Dummy, just for ip whois
|
||||
);
|
||||
|
||||
/* If whois Server needs any parameters, enter it here */
|
||||
|
||||
$this->WHOIS_PARAM = array(
|
||||
"com" => "=",
|
||||
"de" => "-T dn,ace "
|
||||
);
|
||||
|
||||
$this->HTTPW = array(
|
||||
"bg" => "http://www.register.bg/bg-nic/displaydomain.pl?domain=#&search=exist",
|
||||
"es" => "https://www.nic.es/esnic/servlet/WhoisControllerHTML?dominio=#&tipo=dominio",
|
||||
|
|
Loading…
Reference in a new issue