ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 Next »
2
Date Submitted Sun. Apr. 4th, 2010 8:16 AM
Revision 1
Helper jackoder
Tags iban | PHP | Validate
Comments 0 comments
Here's a code block about iban validation with php.
7
Date Submitted Tue. Sep. 4th, 2007 10:24 PM
Revision 1
Helper explode
Tags Email | PHP | regex | Validate
Comments 1 comments
This is a simple function to check if an email is valid or not.
4
Date Submitted Tue. Apr. 10th, 2007 9:39 PM
Revision 1
Helper snowdonkey
Tags Form | PHP | Validate
Comments 3 comments
The following script is a single interface for pre-validating any HTML form. It lets you validate your form data the way you want, while handling the rudimentary tasks itself.

1) Change just one variable to make it work with $_GET or $_POST or $_REQUEST.

2) Name which elements are 'required' all at once in a hidden HTML text input.

3) Easily provide field descriptions in hidden HTML text inputs that you can use to print error statements.

4) Call a single function to print out error statements that you can easily style with CSS.

5) It automatically checks if fields marked 'required' have been filled out.

Most of the pre-validation code is from PHP 5: Unleashed by Sams Publishing. I found it extremely useful for a recent project. Sharing it here, I removed some unnecessary functions, and tried to simplify some points.

All the comments are my own; hopefully I provided more than enough explanation.
6
Date Submitted Mon. Oct. 9th, 2006 5:51 AM
Revision 1
Helper serpentskiss
Tags "Email Address" | RegExp | Validate
Comments 1 comments
PHP function to validate an email address.
5
Date Submitted Thu. Aug. 31st, 2006 7:58 AM
Revision 1
Scripter ctiggerf
Tags Email | Perl | RegExp | Validate
Comments 3 comments
Simple function to check for a valid email address. Makes sure the @ and a . are in the right place. There is most likely a perl package on CPAN that would be more extensive, but this happens to work for my uses.
7
Date Submitted Fri. Jul. 21st, 2006 5:48 PM
Revision 1
Beginner atujpay
Tags Validate
Comments 2 comments
So... this is a simple and great way for validate email address using regular expressions. happy programming!
10
Date Submitted Fri. May. 26th, 2006 11:16 AM
Revision 2
Coder mattrmiller
Tags "Email Address" | Java | String | Validate
Comments 2 comments
Fixed the regular expression to check for more strict requirements.
12
Date Submitted Tue. May. 9th, 2006 9:36 AM
Revision 1
Helper jpinkham
Tags Email | Java | Validate
Comments 1 comments
Another solution recommends using a text match pattern.
This works, but as long as you've got mail.jar in your classpath anyway, you might as well use this technique instead. (Plus, I think it works with older JDK 1.2+, whereas pattern.compile is 1.4+)

Note that it also accepts a comma-separated list of emails, just like a To: or CC: address line would.
9
Date Submitted Sun. Feb. 19th, 2006 2:27 PM
Revision 2
Coder mattrmiller
Tags PHP | Referrer | Validate
Comments 6 comments
Fixed missing $ sign.
6
Date Submitted Sun. Oct. 30th, 2005 9:12 PM
Revision 1
Coder mattrmiller
Tags "Email Address" | ColdFusion | Validate
Comments 0 comments
Validate Email Address
« Previous 1 2 Next »