<?php
/**
* -------------------------------------
* @Author Reza Moghaddam
* @URL moghaddam24.ir
* @Email r324.moghaddam@gmail.com
* @Tel 09156990565
* -------------------------------------
*/
include_once 'whois.class.php';
$whois = new Whois();
$whois->checkDomain("your-domain.com");
/*
if ( $whois->checkExist() ){
echo $whois->checkExist();
}else{
echo "Available For Register";
}
*/
if ( $whois->existOrNo() ){
echo "Dont Available";
}else{
echo "Available For Register";
}
?>
|