Re: form validation question - regex not working

From: Date: Thu, 22 Aug 2002 03:06:42 +0000
Subject: Re: form validation question - regex not working
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-21306@lists.php.net to get a copy of this message
On Thursday 22 August 2002 04:01, chip.wiegand@simrad.com wrote: > Got it figured out, and foreign address do work now - > if (empty($useremail) || > !eregi("^([A-Za-z0-9\.\_-])+@([A-Za-z0-9\_-])+\.([A-Za-z])+\.([a-z])*$", > $useremail)) What do you mean by 'foreign' addresses? The above will still fail for: me@here.there.everywhere.com -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Dungeons and Dragons is just a lot of Saxon Violence. */

« previous php.db (#21306) next »