Ajax Whois domain php Script check domain online cực ngon.
Nguồn bài viết: http://sinhvienit.net/@forum/showthread.php?t=6039
Add thêm whois server nhé ở file AjaxWhois.php
Code:
function AjaxWhois(){
$this->serverList[0]['tld'] = 'com';
$this->serverList[0]['server'] = 'whois.crsnic.net';
$this->serverList[0]['response'] = 'No match for';
$this->serverList[0]['check'] = true;
$this->serverList[1]['tld'] = 'net';
$this->serverList[1]['server'] = 'whois.crsnic.net';
$this->serverList[1]['response'] = 'No match for';
$this->serverList[1]['check'] = false;
$this->serverList[2]['tld'] = 'org';
$this->serverList[2]['server'] = 'whois.publicinterestregistry.net';
$this->serverList[2]['response'] = 'NOT FOUND';
$this->serverList[2]['check'] = false;
$this->serverList[3]['tld'] = 'info';
$this->serverList[3]['server'] = 'whois.afilias.net';
$this->serverList[3]['response'] = 'NOT FOUND';
$this->serverList[3]['check'] = false;
$this->serverList[4]['tld'] = 'name';
$this->serverList[4]['server'] = 'whois.nic.name';
$this->serverList[4]['response'] = 'No match';
$this->serverList[4]['check'] = false;
$this->serverList[5]['tld'] = 'us';
$this->serverList[5]['server'] = 'whois.nic.us';
$this->serverList[5]['response'] = 'Not found:';
$this->serverList[5]['check'] = false;
$this->serverList[6]['tld'] = 'biz';
$this->serverList[6]['server'] = 'whois.nic.biz';
$this->serverList[6]['response'] = 'Not found';
$this->serverList[6]['check'] = false;
$this->serverList[7]['tld'] = 'ca';
$this->serverList[7]['server'] = 'whois.cira.ca';
$this->serverList[7]['response'] = 'AVAIL';
$this->serverList[7]['check'] = false;
$this->serverList[8]['tld'] = 'tv';
$this->serverList[8]['server'] = 'whois.internic.net';
$this->serverList[8]['response'] = 'No match for';
$this->serverList[8]['check'] = false;
$this->serverList[9]['tld'] = 'eu';
$this->serverList[9]['server'] = 'whois.eu';
$this->serverList[9]['response'] = 'FREE';
$this->serverList[9]['check'] = false;
$this->serverList[10]['tld'] = 'ro';
$this->serverList[10]['server'] = 'whois.rotld.ro';
$this->serverList[10]['response'] = 'No entries found for the selected source';
$this->serverList[10]['check'] = false;
$this->serverList[11]['tld'] = 'ws';
$this->serverList[11]['server'] = 'whois.nic.ws';
$this->serverList[11]['response'] = 'No match for';
$this->serverList[11]['check'] = false;
$this->serverList[12]['tld'] = 'co.uk';
$this->serverList[12]['server'] = 'whois.nic.uk';
$this->serverList[12]['response'] = 'No match for';
$this->serverList[12]['check'] = false;
$this->serverList[13]['tld'] = 'de';
$this->serverList[13]['server'] = 'whois.denic.de';
$this->serverList[13]['response'] = 'not found in database';
$this->serverList[13]['check'] = false;