array('eu', 'whois.eu', 'Status: AVAILABLE'),
<?php if(preg_match('/\Ahttps?:\/\/([-\w\.]+)+(:\d+)?(\/([\w\/_\.]*(\?\S+)?)?)?\Z/', 'http://'.$_POST['domain']))
{
$whois=array();
$whois['.de']['server']='whois.denic.de';
$whois['.de']['string']='Status: free';
$whois['.com']['server']='whois.crsnic.net';
$whois['.com']['string']='No match for';
$whois['.net']['server']='whois.crsnic.net';
$whois['.net']['string']='No match for';
$whois['.org']['server']='whois.publicinterestregistry.net';
$whois['.org']['string']='NOT FOUND';
$whois['.info']['server']='whois.afilias.net';
$whois['.info']['string']='NOT FOUND';
$whois['.biz']['server']='whois.nic.biz';
$whois['.biz']['string']='Not found';
$whois['.eu']['server']='whois.eu';
$whois['.eu']['string']='Status: AVAILABLE';
$whois['.ag']['server']='whois.nic.ag';
$whois['.ag']['string']='NOT FOUND';
$whois['.am']['server']='whois.nic.am';
$whois['.am']['string']='No match';
$whois['.as']['server']='whois.nic.as';
$whois['.as']['string']='Domain Not Found';
$whois['.at']['server']='whois.nic.at';
$whois['.at']['string']='nothing found';
$whois['.be']['server']='whois.dns.be';
$whois['.be']['string']='Status: FREE';
$whois['.cd']['server']='whois.cd';
$whois['.cd']['string']='No match';
$whois['.ch']['server']='whois.nic.ch';
$whois['.ch']['string']='not have an entry';
$whois['.cx']['server']='whois.nic.cx';
$whois['.cx']['string']='Status: Not Registered';
$whois['.dk']['server']='whois.dk-hostmaster.dk';
$whois['.dk']['string']='No entries found';
$whois['.it']['server']='whois.nic.it';
$whois['.it']['string']='Status: AVAILABLE';
$whois['.li']['server']='whois.nic.li';
$whois['.li']['string']='do not have an entry';
$whois['.lu']['server']='whois.dns.lu';
$whois['.lu']['string']='No such domain';
$whois['.nu']['server']='whois.nic.nu';
$whois['.nu']['string']='NO MATCH for';
$whois['.ru']['server']='whois.ripn.net';
$whois['.ru']['string']='No entries found';
$whois['.uk.com']['server']='whois.centralnic.com';
$whois['.uk.com']['string']='No match for';
$whois['.eu.com']['server']='whois.centralnic.com';
$whois['.eu.com']['string']='No match';
$whois['.ws']['server']='whois.nic.ws';
$whois['.ws']['string']='No match for';
$domain=str_replace('www.', '', $_POST['domain']);
if(get_magic_quotes_gpc==0)
{
$domain=addslashes($domain);
}
$check=fsockopen($whois[$_POST['tld']]['server'], 43);
fputs($check, $domain.$_POST['tld']."\r\n");
while(!feof($check))
{
$report=$report.fgets($check, 128);
}
fclose($check);
if(ereg($whois[$_POST['tld']]['string'], $report))
{
echo "<p id=\"dok\"><img src=\"ok.png\" height=\"18\"> Die Domain ".$_POST["domain"].$_POST["tld"]." ist frei !</p>";
$_SESSION["domain"] = $_POST["domain"].$_POST["tld"];
}
else
{
echo "<p id=\"dno\"><img src=\"no.png\" height=\"18\"> Die Domain ".$_POST["domain"].$_POST["tld"]." ist belegt !</p>";
}
}
?>
% The WHOIS service offered by EURid and the access to the records
% in the EURid WHOIS database are provided for information purposes
% only. It allows persons to check whether a specific domain name
% is still available or not and to obtain information related to
% the registration records of existing domain names.
%
% EURid cannot, under any circumstances, be held liable in case the
% stored information would prove to be wrong, incomplete or not
% accurate in any sense.
%
% By submitting a query you agree not to use the information made
% available to:
%
% - allow, enable or otherwise support the transmission of unsolicited,
% commercial advertising or other solicitations whether via email or
% otherwise;
% - target advertising in any possible way;
%
% - to cause nuisance in any possible way to the registrants by sending
% (whether by automated, electronic processes capable of enabling
% high volumes or other possible means) messages to them.
%
% Without prejudice to the above, it is explicitly forbidden to extract,
% copy and/or use or re-utilise in any form and by any means
% (electronically or not) the whole or a quantitatively or qualitatively
% substantial part of the contents of the WHOIS database without prior
% and explicit permission by EURid, nor in any attempt hereof, to apply
% automated, electronic processes to EURid (or its systems).
%
% You agree that any reproduction and/or transmission of data for
% commercial purposes will always be considered as the extraction of a
% substantial part of the content of the WHOIS database.
%
% By submitting the query you agree to abide by this policy and accept
% that EURid can take measures to limit the use of its WHOIS services
% in order to protect the privacy of its registrants or the integrity
% of the database.
%
% The EURid WHOIS service on port 43 (textual whois) never
% discloses any information concerning the registrant.
% Registrant information can be obtained through use of the
% webbased whois service available from the EURid website www.eurid.eu
%
% WHOIS whois
Domain: whois
Registrant:
NOT DISCLOSED!
Visit www.eurid.eu for webbased whois.
Registrar Technical Contacts:
Name: EURid vzw/asbl Technical staff
Organisation: EURid vzw/asbl
Language: en
Phone: +32.24012750
Fax: +32.24012751
Email: tech@eurid.eu
Registrar:
Name: EURid vzw/asbl
Website: www.eurid.eu
Nameservers:
a.nic.eu
l.nic.eu
m.nic.eu
Please visit www.eurid.eu for more info.
fwrite ($handle,'whois '.domain."\r\n");
Steht doch schon deutlich da:
MfG Christian
% The WHOIS service offered by EURid and the access to the records
% in the EURid WHOIS database are provided for information purposes
% only. It allows persons to check whether a specific domain name
% is still available or not and to obtain information related to
% the registration records of existing domain names.
%
% EURid cannot, under any circumstances, be held liable in case the
% stored information would prove to be wrong, incomplete or not
% accurate in any sense.
%
% By submitting a query you agree not to use the information made
% available to:
%
% - allow, enable or otherwise support the transmission of unsolicited,
% commercial advertising or other solicitations whether via email or
% otherwise;
% - target advertising in any possible way;
%
% - to cause nuisance in any possible way to the registrants by sending
% (whether by automated, electronic processes capable of enabling
% high volumes or other possible means) messages to them.
%
% Without prejudice to the above, it is explicitly forbidden to extract,
% copy and/or use or re-utilise in any form and by any means
% (electronically or not) the whole or a quantitatively or qualitatively
% substantial part of the contents of the WHOIS database without prior
% and explicit permission by EURid, nor in any attempt hereof, to apply
% automated, electronic processes to EURid (or its systems).
%
% You agree that any reproduction and/or transmission of data for
% commercial purposes will always be considered as the extraction of a
% substantial part of the content of the WHOIS database.
%
% By submitting the query you agree to abide by this policy and accept
% that EURid can take measures to limit the use of its WHOIS services
% in order to protect the privacy of its registrants or the integrity
% of the database.
%
% The EURid WHOIS service on port 43 (textual whois) never
% discloses any information concerning the registrant.
% Registrant information can be obtained through use of the
% webbased whois service available from the EURid website www.eurid.eu
%
% WHOIS
-7: Invalid pattern
fwrite ($handle,'whois',domain."\r\n");
We use essential cookies to make this site work, and optional cookies to enhance your experience.