Ver Mensaje Individual
  #10 (permalink)  
Antiguo 13/10/2005, 17:44
marcinf2
 
Fecha de Ingreso: enero-2002
Ubicación: Lima
Mensajes: 461
Antigüedad: 22 años, 3 meses
Puntos: 1
le he puesto comillas pero nada siempre me da registrado

te paso el codigo original con formulario html

Código:
<html>
<head>
<title>phpGlobalWhois</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="../download/buscar dominio/globalwhois/example.php">
  Domain: <input type="text" name="dom">
  <input type="submit" name="Submit" value="Submit">
</form>
<?
if ($dom){
	include "./whois.inc";
	$whoisresult = lookup($dom);
	$isavail = $whoisresult[0]; // Contiene "1" si esta disponible, 0 si esta registrado
	$whotext = $whoisresult[0]; // Contains the full response from the server.
	#The PRE tags are there to display the results in web browsers without replacing \n with <br>..its just cleaner and quicker that way. ;)
	if ($isavail=="1"){
		print "<b>This domain is available!</b>";
	}
		else
	{
		print "<b>This domain has been registered.</b>";
	}
	print "<pre>".$whotext."</pre>";
}
?>
</body>
</html>

es dificil buscar el erro en php en flash no se donde buscar

de todas formas gracias por tu ayuda