[pmwiki-users] test email adress

Peter K.H. Gragert p.k.h.gragert at misc.utwente.nl
Sun Oct 25 10:24:43 CDT 2009


I just started to use pmforms.php, especially the mail part.


On the site there is an idea to check if an email address contains an


I use this one


function valid_mail($str)


    return (ereg
$)', $str));




Is there an even (much) better one?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20091025/aa6b5b99/attachment-0001.html 

More information about the pmwiki-users mailing list