|
|
|
جسنجوگر دامنه
لطفا نام دامنه مورد نظر خود را در زیر وارد نموده و کلید جستجو را انتخاب نمایید تا از وضعیت آن اطلاع یابید. حتما قبل از اقدام به ثبت نام دامنه جدید از موجود بودن آن اطمینان حاصل نمایید.
كاراكترهاي قابل استفاده در نام دامنه عبارتند از حروف ( a تا z )، اعداد ( 0 تا 9 ) و خط تيره ( - )
استفاده از حروف كوچك و بزرگ تفاوتي نمي كند.
استفاده از خط تيره ( - ) براي شروع يا خاتمه نام
دامنه مجاز نمي باشد.
|
//include the whois engine...
include("include/WhoisDomainCheckup_class.inc.php");
//init the class...
$WhoisDomainCheck = new WhoisDomainCheck();
//CONFIGS ARE OPTIONAL!!
//here we convert the $result to a human readable message
$WhoisDomainCheck->config['whoisGUImessages'] = array(
0 => "موجود است.",
1 => "قبلا به ثبت رسیده است.",
2 => "قبلا به ثبت رسیده است.",
3 => "سرور پسوند دامنه مورد نظر در حال حاضر قابل دسترسی نیست.",
4 => "سرور پسوند مورد نظر در حال حاضر قادر به پاسخگویی نیست. به ما گزارش دهید"
);
//PLEASE NOTE; the last one does NOT have a ',' at the end...
$WhoisDomainCheck->config['whoisServers'] = array(
//extention //server (when a url is found, a connect will be made on port 80 instead of 43)
"nl" => "whois.domain-registry.nl",
"com" => "whois.internic.net",
"net" => "whois.internic.net",
"org" => "whois.publicinterestregistry.net",
"info" => "whois.afilias.net",
// "info" => "http://www.nic.info/cgi-bin/whois.cgi?whois_query_field=",
"biz" => "whois.nic.biz"
);
//trigger for hosted by US...
$WhoisDomainCheck->config['whoisFeedBack'][2] = array("Leesberg","@lrp.nl");
//Do a whois lookup with the variable $whois and put the results in a loop
//and push the vars $domainname, $extention and $result to the included template.
//This will result in a fully qualified domain name like 'daantje.nl':
// echo "$WhoisDomainCheck->domainname.$extention";
$WhoisDomainCheck-> checkWhois($whois);
while(list($extention,$result) = each($WhoisDomainCheck->result))
include("whois_template.php");
//below a example of a whois form...
?>
|
|
|
|
|