Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged validation



1 2 Next »
This is a good way to validate form input from PHP, in essence this could be a blue print for your forms.
5 755 posted 14 years ago by brownrl
This is a short and sweet snippet that will save the users form input after PHP runs validation and returns false. Very good for User Experience!
0 565 posted 14 years ago by montanaflynn
Use this function to validate cookies set by Facebook Connect JS API
0 638 posted 14 years ago by ping_ch
4 2323 posted 14 years ago by fackz
A PHP function that correctly validates all parts of a given email address, according to RFCs 5322, 5321, 1123, 2396, 3696, 4291, 4343, 2821 & 2822. I’ve released it under a license that allows you to use it royalty-free in commercial or non-commer...
4 1047 posted 15 years ago by dominicsayers
Checks for a valid email address using the php-email-address-validation class. Source and docs = URL
0 571 posted 15 years ago by fruehjahr
Wordpress function
1 729 posted 15 years ago by Tate
A simple method of validating an IP address using PHP and regular expressions
2 2845 posted 15 years ago by aristoworks
This is a simple method of validating a 9-digit zip code using PHP and regular expressions
3 2130 posted 15 years ago by aristoworks
A simple method of validating an email address using PHP and regular expressions
4 1118 posted 15 years ago by aristoworks
A simple method of validating a telephone number using regular expressions and PHP
3 1240 posted 15 years ago by aristoworks
2 535 posted 16 years ago by ajbatac
Basically what this algorithm does is to replace the first letter of the serial number by a number (each letter represents where the banknote is originally from), then it calculates the sum of all digits. If the remaining of the division of that sum...
0 461 posted 16 years ago by j_junyent
2 607 posted 16 years ago by ajbatac
Email validation routine Dave Child
8 949 posted 16 years ago by IanLewis
1 822 posted 16 years ago by eethann
great to validate and process a form in the same page
5 1601 posted 16 years ago by valcartei
a function to check the validity of the postcode according to UK rules
0 2893 posted 16 years ago by valcartei
1 2 Next »