checkdnsrr()

Répondre
glasyeur
glasyeur
Déconnecté
lut tlm
j'ai se pb avec l'astuce de la verification des emails
:
Warning: checkdnsrr() is not supported in this PHP build in d:\easyphp1-6\www\site\accueil\bwahaha\clabe\includes\fonctions.php on line 6
i M@N
i M@N
Déconnecté
One Love, One Heart, One Unity.
Hello !

Moi aussi j'ai eu ce problème.

Il faut donc oublier checkdnsrr() et déclarer la fonction email_OK comme ça :

function email_OK ($email) {
$test_mail=eregi('^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+$',$email);

if ($test_mail) {
return TRUE;
}

else {
return FALSE;
}
}

Vala,

@+...
LA GLOBULE
LA GLOBULE
Déconnecté
111 111 111 x 111 111 111 = 12 345 678 987 654 321
checkdnsrr fonctionne tres bien, sauf en local.

Testes en ligne, tu verras que ca fonctionne...
Répondre
Accès rapide :

Remonter Remonter
L'éditeur javascript - CSS - Gentoo - Tutoriaux PHP - Tutoriels PHP - Php - Breizh Blog