Login   Register  
PHP Classes

File: sample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Reza Moghaddam  >  Simple PHP Domain Whois Class  >  sample.php  >  Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: Sample File
Class: Simple PHP Domain Whois Class
Check if a given domain exists using whois
Author: By
Last change:
Date: 1 year ago
Size: 570 bytes


Class file image Download

 * -------------------------------------
 * @Author      Reza Moghaddam
 * @URL         moghaddam24.ir
 * @Email       r324.moghaddam@gmail.com
 * @Tel         09156990565
 * -------------------------------------

include_once 'whois.class.php';

$whois = new Whois();

if ( $whois->checkExist() ){
    echo $whois->checkExist();
    echo "Available For Register";

if ( $whois->existOrNo() ){
"Dont Available";
"Available For Register";