Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 24, 2012, 11:50:05 AM

Pages: [1]   Go Down
  Print  
Author Topic: In deapth e-mail validation  (Read 3955 times)
StonedRoses
Intergalactic Superstar
*****
Offline Offline

Posts: 125



WWW
« on: July 20, 2011, 04:45:56 PM »

Howdy guys, its not really a simple question allthough it sounds it.

After reading some articles, wikipedia, RFC etc... ive come to the conclusion that to validate an e-mail according to the stanards is near impossible. From what i understand a regular expression wont do the job properly. So i plan on making a function to get the job done. My question is what have you guys done to get as close as you can?

http://en.wikipedia.org/wiki/Email_address#Invalid_email_addresses - outlines just abit of how much can be entered.
Logged

http://www.sebby.co.uk - Your online supplier of discount fashion jewellery, gemstone jewellery, ladies dress watches, giftware and more.
scanman20
Senior Moderator
Über Jedi
*****
Offline Offline

Posts: 1524



WWW
« Reply #1 on: July 21, 2011, 08:33:35 AM »

http://us.php.net/manual/en/function.filter-var.php
Logged

Even a broken clock is right twice a day.
NotOneBit.com
MCSE - MCSA - MCP
smartkathy
Trekkie
**
Offline Offline

Posts: 17


« Reply #2 on: February 22, 2012, 04:11:49 AM »

Hey there,

I think you can check this as well totallyphp.co.uk › Code Snippets
I hope its helpful.
Cheers.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: