PHP Classes

Incorrect response

Recommend this page to a friend!

      domain  >  All threads  >  Incorrect response  >  (Un) Subscribe thread alerts  
Subject:Incorrect response
Summary:Registered domains return an available result
Date:2011-03-03 11:08:40

  1. Incorrect response   Reply   Report abuse  
Picture of Juan Juan - 2011-03-03 11:08:40
With this class, registered domains like or returns an available response, althought the ripe response is "no entries found", as you can see below:

Domain name is valid!
Domain is available
% This is the RIPE Database query service. % The objects are in RPSL format. % % The RIPE Database is subject to Terms and Conditions. % See %ERROR:101: no entries found % % No entries found in the selected source(s).

This is my script using the class:


// Initializing class
$domain=new domain("");

// Printing out name of domain without tld
echo "Domain: ".$domain->get_fulldomain()."<br>";
// Checking if domain name is valid
echo "Domain name is valid!<br>";
// Checking if domain is available
echo "Domain is available<br>";
echo $domain->info();
echo "Domain is not Available<br>";
echo "Domain name isn't valid!<br>";

How can I solve this?

Thanks in advance.

For more information send a message to info at phpclasses dot org.