note 15315 added to function.checkdnsrr

From: Date: Wed, 05 Sep 2001 08:29:27 +0000
Subject: note 15315 added to function.checkdnsrr
Groups: php.notes 
Request: Send a blank email to php-notes+get-17642@lists.php.net to get a copy of this message
how about preg_match and: $rex="/^[\w-]+(\.[\w-]+)*@\w+(\.[\w-]{2,3})$/"; if (preg_match ("$rex", "_Kla.3M-er@f.fe_" )) { print "valid email"; } http://www.php.net/manual/de/function.checkdnsrr.php

« previous php.notes (#17642) next »