Re: error checking from form

From: Date: Wed, 07 Aug 2002 16:08:49 +0000
Subject: Re: error checking from form
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-111531@lists.php.net to get a copy of this message
Not sure if this is what you're looking for, but, this is the regular expression I use to validate e-mail addresses in forms: "^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.([a-z]){2,4})$" I use this with eregi(). Monty. >> -----Original Message----- >> From: César Aracena [mailto:icaam@icaam.com.ar] >> Sent: Tuesday, August 06, 2002 2:03 PM >> To: PHP General List >> Subject: [PHP] error checking from form >> >> Hi all. I have downloaded several error checking snippets (Form >> Validator) from sites like www.evilwalrus.com and www.devshed.com but >> haven't found a really great one which also checks for the e-mail >> address entered. I need to check the inputs made in a form. Does > anyone >> have one that really works? Or maybe someone can point me in the right >> direction. >>

« previous php.general (#111531) next »