<?php
# including whois.php
include("../whois.php");
# create new class with domainname
$xWhois = new xWhois("google.at");
# setting up variables
# i want to check if domain is free
$xWhois->__free = true;
# get Data
$xWhois->getData();
# check if domain is free
if($xWhois->DomainFrei)
echo "Domain is free";
else
echo "Domain is not free";
?>