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
Messages:1
Author:Juan
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 laverdad.es or generalinformatica.es returns an available response, althought the ripe response is "no entries found", as you can see below:

Domain: laverdad.es
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 http://www.ripe.net/db/support/db-terms-conditions.pdf %ERROR:101: no entries found % % No entries found in the selected source(s).

This is my script using the class:

<?
include("domain.class.php");

// Initializing class
$domain=new domain("laverdad.es");

// Printing out name of domain without tld
echo "Domain: ".$domain->get_fulldomain()."<br>";
// Checking if domain name is valid
if($domain->is_valid()){
echo "Domain name is valid!<br>";
// Checking if domain is available
if($domain->is_available()){
echo "Domain is available<br>";
echo $domain->info();
}else{
echo "Domain is not Available<br>";
}
}else{
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.