Mantente al día:

Tel: 608 9582 y 608 9595

Tijuana, B.C. México

 REGISTRAR MI DOMINIO AHORA!!

  INICIO

DOMINIOS

HOSPEDAJE CONTACTO PORTAFOLIO  

 

 

/* MRWhois Lite v. 2.3 - a Whois lookup script written in PHP. Copyright (C) 2001-2009 Marek Rozanski http://www.mrscripts.co.uk This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // change it here - if you changed the file name from mrwhois.php to something else define('FILE_NAME', 'dominio.php'); // Language settings define('PAGE_TITLE_META', 'GLEZCERWEB Buscador de Dominios'); // Title to be used in META tag within HEADER define('POWERED_BY', 'Regresar al Sitio Principal'); // Text to display in a footer, please do not change if you don't have to define('MAIN_COMMAND', 'Escriba el Dominio que desea registrar'); // Command in a main window define('CHECK_BUTTON', 'Buscar Disponibilidad'); // Check button text define('META_CHARSET', 'iso-8859-1'); // Charset to be used in META tags define('META_LANGUAGE', 'en'); // Language to be used in META tags define('FOOTER_TEXT', 'Conocer la disponibilidad del dominio puede tomar varios segundos'); // text in footer define('FOOTER_RELOAD_TEXT', 'Refrescar Pagina'); // text of the link to reload the page // This is an extra layer displayed during domain search. It is helpfull when someone is // searching for all domains at once. // If you are not confident with layers at all // just disable it - set the first value below to false. define('WAIT_LAYER_ENABLED', true); define('WAIT_TITLE', 'Espere por favor....'); define('WAIT_MESSAGE', 'Si su busqueda a tardado mas de un minuto, haga click aqui para refrescar la pagina y volverlo a intentar'); define('LINK_REGISTER_TEXT', 'Registrar Dominio'); // Register link text define('STATUS_BAR_REGISTER_TEXT', 'Registrar Dominio'); // Status bar register message - when hovered over the "Register" link define('STATUS_BAR_DETAILS', 'Detalles de'); // Status bar "Details of" - when hovered over "Details" link define('LINK_TAKEN_DETAILS', 'Detalles'); // "Details" text define('LINK_TAKEN_GOTO', 'Ir a este sitio'); // "Goto" text define('ALL_TEXT', 'Todos'); // Text to display for all domains checking define('CLOSE_BUTTON_TEXT', 'Cerrar Ventana'); // "Close" button text in a details window define('AVAILABLE_TEXT', 'Disponible'); // Text displayed if the domain is available define('NOT_AVAILABLE_TEXT', 'Ocupado'); // Text displayed if the domain is not available define('ERROR_TOO_SHORT', 'El nombre del dominio que escribio es muy corto. Debe contener minimo 3 caracteres'); // Error message if the domain name is too short define('ERROR_TOO_LONG', 'El nombre del dominio que escribio es mu largo. Debe contener maximo 63 characters'); // Error message if the domain name is too long define('ERROR_HYPHEN', 'En nombre del no puede comentar iniciar o finalizar con un guion o contener 2 guiones'); // Error message if the domain starts with hyphen or contains double hyphen define('ERROR_CHARACTERS', 'El nombre del dominio solo puede contener caracteres alfanumericos y guiones'); // Error message if the domain contains other characters than letters, digits or hyphens // DESIGN PARAMETERS define('MAIN_STYLE',' BODY { background-color: #ffffff; color: #000000; font-family: "Verdana, Arial, Helvetica"; font-size: 12px; } TD { color: #000000; font-family: "Verdana, Arial, Helvetica"; font-size: 12px; } .available { color: #006600; font-family: "Verdana, Arial, Helvetica"; font-size: 12px; } .notavailable { color: #FF0000; font-family: "Verdana, Arial, Helvetica"; font-size: 12px; } .separator { background-color: #dddddd; } .footer { color: #000080; font-family: "Verdana, Arial, Helvetica"; font-size: 10px; } .windowborder { background-color: #F77D00; } .windowinside { background-color: #eeeeee; } .errors { color: #FF0000; font-family: "Verdana, Arial, Helvetica"; font-size: 12px; } A { font-family: "Verdana, Arial, Helvetica"; font-size: 12px; color: #000000; text-decoration: none; } A:hover { font-family: "Verdana, Arial, Helvetica"; font-size: 12px; color: #FF0000; text-decoration: underline; } A.footer { font-family: "Verdana, Arial, Helvetica"; color: #FF0000; text-decoration: none; font-size: 10px; } A.footer:hover { font-family: "Verdana, Arial, Helvetica"; color: #FF0000; text-decoration: underline; font-size: 10px; } A.footerreload { font-family: "Verdana, Arial, Helvetica"; color: #FF0000; text-decoration: none; font-size: 12px; } A.footerreload:hover { font-family: "Verdana, Arial, Helvetica"; color: #FF0000; text-decoration: underline; font-size: 12px; } A.footerpowered { font-family: "Verdana, Arial, Helvetica"; color: #000000; text-decoration: none; font-size: 10px; } A.footerpowered:hover { font-family: "Verdana, Arial, Helvetica"; color: #FF0000; text-decoration: underline; font-size: 10px; } '); // change it to whatever you like // Define lookup variables // .com domains define('COM_SERVER', "whois.verisign-grs.com"); // server to lookup for domain name define('COM_NOMATCH', "No match"); // string returned by server if the domain is not found define('COM_INCLUDE', true); // include this domain in lookup // .net domains define('NET_SERVER', "whois.verisign-grs.com"); // server to lookup for domain name define('NET_NOMATCH', "No match"); // string returned by server if the domain is not found define('NET_INCLUDE', true); // include this domain in lookup // .org domains define('ORG_SERVER', 'whois.publicinterestregistry.net'); // server to lookup for domain name define('ORG_NOMATCH', 'NOT FOUND'); // string returned by server if the domain is not found define('ORG_INCLUDE', true); // include this domain in lookup // .info domains define('INFO_SERVER', 'whois.afilias.net'); // server to lookup for domain name define('INFO_NOMATCH', 'Not found'); // string returned by server if the domain is not found define('INFO_INCLUDE', true); // include this domain in lookup // .com.mx domains define('BIZ_SERVER', 'whois.verisign-grs.com'); // server to lookup for domain name define('BIZ_NOMATCH', 'Not found'); // string returned by server if the domain is not found define('BIZ_INCLUDE', true); // include this domain in lookup // Shall we use register link? (true/false) define('REG_LINK', true); // If yes, give the url, it can be your affiliate link define('REG_URL', 'http://www.glezcerweb.com/registrodedominios'); // Do you want a log file? (true/false) define('WANTLOG', true); // If yes, give the log file name here // remember to chmod the file to 777 (change permition to writable for everyone) define('LOGFILE', 'dominio.log'); /* ################################################################################################################# End of variables, you do not need to change anythin below this line. ################################################################################################################# */ if ($_POST['type']!="") define('TYPE', $_POST['type']); else define('TYPE', ''); if ($_POST['ddomain']!="") define('DDOMAIN', $_POST['ddomain']); else define('DDOMAIN', ''); // This function displays an available domain function dispav($what) { echo ''; if (REG_LINK) { echo ''.LINK_REGISTER_TEXT.''; } else echo ' '; echo ' '.$what.' '; } // Function to display an unavailable domain with additional links function dispun($what,$where) { echo '   '.$what.' '.LINK_TAKEN_DETAILS.' '.LINK_TAKEN_GOTO.' '; } function startborder() { echo '
'; } function endborder() { echo '
'; } function disperror($text) { startborder(); echo '
'.$text.'
'; endborder(); } function main() { echo '
'; startborder(); echo '
'.MAIN_COMMAND.'
 
'; if (COM_INCLUDE) { echo ' com
'; } if (NET_INCLUDE) { echo ' net
'; } if (ORG_INCLUDE) { echo ' org
'; } if (INFO_INCLUDE){ echo ' info
'; } if (BIZ_INCLUDE) { echo ' com.mx
'; } echo ' '.ALL_TEXT.''; echo '
'; endborder(); } function pageheader() { echo ' '.PAGE_TITLE_META.' '; } function pagefooter() { echo ''; } if ($_GET['action'] == "details") { $server = $_GET['server']; $ddomain = $_GET['ddomain']; pageheader(); echo '
';
	$fp = fsockopen($server,43);
	fputs($fp, "$ddomain\r\n");
	while(!feof($fp))
	{
		echo fgets($fp,128);
	}
	fclose($fp);
	echo '
'; echo '

'; pagefooter(); exit; } elseif ($_POST['action']=='checkdom') { if (WAIT_LAYER_ENABLED) { echo ' '; echo ' '; echo '
'.WAIT_TITLE.'

'.WAIT_MESSAGE.' '; } // Check the name for bad characters if(strlen(DDOMAIN) < 3) { pageheader(); disperror(ERROR_TOO_SHORT); main(); pagefooter(); exit; } if(strlen(DDOMAIN) > 63) { pageheader(); disperror(ERROR_TOO_LONG); main(); pagefooter(); exit; } if(ereg("^-|-$",DDOMAIN)) { pageheader(); disperror(ERROR_HYPHEN); main(); pagefooter(); exit; } if(!ereg("([a-z]|[A-Z]|[0-9]|-){".strlen(DDOMAIN)."}",DDOMAIN)) { pageheader(); disperror(ERROR_CHARACTERS); main(); pagefooter(); exit; } pageheader(); startborder(); echo ' '; if ( (TYPE == "all" or TYPE == "com") and COM_INCLUDE ) { $domname = DDOMAIN.".com"; $ns = fsockopen(COM_SERVER,43); fputs($ns,"$domname\r\n"); $result = ''; while(!feof($ns)) $result .= fgets($ns,128); fclose($ns); if (eregi(COM_NOMATCH,$result)) { dispav($domname); } else { dispun($domname,COM_SERVER); } echo ''; } if ( (TYPE == "all" or TYPE == "net") and NET_INCLUDE ) { $domname = DDOMAIN.".net"; $ns = fsockopen(NET_SERVER,43); fputs($ns,"$domname\r\n"); $result = ''; while(!feof($ns)) $result .= fgets($ns,128); fclose($ns); if (eregi(NET_NOMATCH,$result)) { dispav($domname); } else { dispun($domname,NET_SERVER); } echo ''; } if ( (TYPE == "all" or TYPE == "org") and ORG_INCLUDE ) { $domname = DDOMAIN.".org"; $ns = fsockopen(ORG_SERVER,43); fputs($ns,"$domname\r\n"); $result = ''; while(!feof($ns)) $result .= fgets($ns,128); fclose($ns); if (eregi(ORG_NOMATCH,$result)) { dispav($domname); } else { dispun($domname,ORG_SERVER); } echo ''; } if ( (TYPE == "all" or TYPE == "info") and INFO_INCLUDE ) { $domname = DDOMAIN.".info"; $ns = fsockopen(INFO_SERVER,43); fputs($ns,"$domname\r\n"); $result = ''; while(!feof($ns)) $result .= fgets($ns,128); fclose($ns); if (eregi(INFO_NOMATCH,$result)) { dispav($domname); } else { dispun($domname,INFO_SERVER); } echo ''; } if ( (TYPE == "all" or TYPE == "com.mx") and BIZ_INCLUDE ) { $domname = DDOMAIN.".com.mx"; $ns = fsockopen(BIZ_SERVER,43); fputs($ns,"$domname\r\n"); $result = ''; while(!feof($ns)) $result .= fgets($ns,128); fclose($ns); if (eregi(BIZ_NOMATCH,$result)) { dispav($domname); } else { dispun($domname,BIZ_SERVER); } echo ''; } echo '
  '.AVAILABLE_TEXT.' '.NOT_AVAILABLE_TEXT.'    
 
 
 
 
 
'; endborder(); if (WAIT_LAYER_ENABLED) { echo ''; } // if logging enabled write info to the file if(WANTLOG) { $remote_addr = $REMOTE_ADDR; $today = date("d-m-y H:i", time()); if (file_exists(LOGFILE) and is_writeable(LOGFILE)) { $fp = fopen(LOGFILE,"a+"); $infolog = "Date: $today | IP: $remote_addr | ".DDOMAIN."/n"; fputs($fp, $infolog); fclose($fp); } } main(); pagefooter(); } else { pageheader(); main(); pagefooter(); } ?>