Bienvenido, Invitado


Check domail.tld avalability on form 2 años 1 mes antes #237837

  • Autor del tema
  • civicos
  • Fuera de línea
  • Fresh Breezer
  • Fresh Breezer
  • Mensajes: 1
  • Gracias recibidas: 0
Hello friends

I'm trying to make a form with domain.tld check.
I created a field called "domain" and after making the expression valitation, I want to include a little checker to see if the domain is available.
The expression validator is this:

function ff_Dominio_validation(element, message)
var check =
if (!check.test(element.value)){
if (message=='') message = " La sintaxis del dominio no es válida.\n";
return message;
} // if
return '';
} // ff_Dominio_validation

The process is a multi page form with the first page that validates the domain, checking expression and availability, if those two conditions are ok, the user can continue to the next screen.

I've found this in internet, but I don't know hoy I can implement it in this workflow.

if ( gethostbyname($domain) != $domain ) {
echo "DNS Record found";
else {
echo "NO DNS Record found";

Any help please?

Thank you very much!

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

  • Página:
  • 1
Tiempo de carga de la página: 0.040 segundos