In prior version of PHP you had to use some regex solution to validate an email address, now in PHP5 it’s as simple as: function isValidEmail($email){ return filter_var(filter_var($email, FILTER_SANITIZE_EMAIL), FILTER_VALIDATE_EMAIL); } if(isValidEmail(‘email@domain.com’)){ //valid } else { //not valid } I’ve been using PHP5 ever since it was released but didn’t look into the PECL Filter [...]
Tag Archives | email validation
Recent Tweets
Follow @lostincode on Twitter
- JQuery sort() February 11, 2009
-
SDWebImage fixed width cell images
November 20, 2011
- Error calling method on NPObject! February 12, 2009
- PHP5 Email Validation February 10, 2009
- Getting Upcoming Birthdays From MySQL March 31, 2009
-
Creating the bouncy/zoom image effect in the KickStarter iOS app
April 25, 2013
-
Creating a pull to refresh animation like the popular Vine iOS app
April 21, 2013
-
Creating a log in view controller for your app in iOS5 with a PHP backend (1/2)
May 31, 2012
- Lighttpd – url rewrite and query string QSA May 20, 2012
- PHP: Handle comma separated input February 21, 2012
-
someone: Select Objective-c Class and give it a name of Log...
-
Menashe Ungar: Apple will reject your app if you request an email...
-
someoneinneed: this could be perfect...can you please make a part...
-
Sankaet Pathak: https://github.com/rs/SDWebImage/wiki/How-is-SDWeb...
-
Su Samples: Wild Tangent Games. I have had problems with my c...
actionscript
Amazon S3
as3
base_convert()
birthday
bucket url
Chrome
CNAME
Cr-48
crossdomain.xml
cURL
custom domain
dom
email validation
exif
ExternalInterface
Flash
Flash 8
Google
image type
innerHTML
ios
iOS 4.2
ios5
iphone
JavaScript
JQuery
lighttpd
lighty
login controller
missing sdk
MOUSE_MOVE
MTV
MTVN
MySQL
NPObject
Objective C
PHP
scrollbar
search
sort
sphinx
startDrag
UITableView
usort()
Categories
- Actionscript 2.0 (1)
- Actionscript 3.0 (2)
- Amazon S3 (1)
- Flash (3)
- iOS (3)
- iPhone (7)
- JavaScript (2)
- JQuery (2)
- Lighttpd (1)
- MySQL (2)
- PHP (8)
- Uncategorized (2)