กระทู้: เช็คโดเมนเนมของ .th ที่ไหน? (php)
ไม่ทราบว่าเช็คโดเมน ไทยที่ไหนครับ
ผมลองแปลงเล่น
ตามที่เข้าใจคือเราต้องส่งชื่อซับไปที่เจ้าของโดเมน ทางโดนเมนตอบกลับมา เอาคำตอบมาตีความหมายอีกที
ตอนนี้เหมือนว่าคอนเน็คไม่ถูกครับ
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'] = true;
$this->serverList[2]['tld'] = 'org';
$this->serverList[2]['server'] = 'whois.publicinterestregistry.net';
$this->serverList[2]['response'] = 'NOT FOUND';
$this->serverList[2]['check'] = true;
$this->serverList[3]['tld'] = 'info';
$this->serverList[3]['server'] = 'whois.afilias.net';
$this->serverList[3]['response'] = 'NOT FOUND';
$this->serverList[3]['check'] = true;
$this->serverList[4]['tld'] = 'co.th';
$this->serverList[4]['server'] = 'whois.thnic.net';
$this->serverList[4]['response'] = 'No entries found';
$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'] = true;
$this->serverList[6]['tld'] = 'biz';
$this->serverList[6]['server'] = 'whois.nic.biz';
$this->serverList[6]['response'] = 'Not found';
$this->serverList[6]['check'] = true;
$this->serverList[7]['tld'] = 'in.th';
$this->serverList[7]['server'] = 'whois.thnic.net';
$this->serverList[7]['response'] = 'No entries found';
$this->serverList[7]['check'] = false;
$this->serverList[8]['tld'] = 'ac.th';
$this->serverList[8]['server'] = 'whois.thnic.net';
$this->serverList[8]['response'] = 'No entries found';
$this->serverList[8]['check'] = false;
}