Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (398)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Validate email Address
Useful PHP Code Snippets for Developers - Validate email Address
✍: Guest
function is_valid_email($email, $test_mx = false) { if(eregi("^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $email)) if($test_mx) { list($username, $domain) = split("@", $email); return getmxrr($domain, $mxrecords); } else return true; else return false; }
2015-06-19, 1335🔥, 0💬
Popular Posts:
How to add a password to stop other people opening my Word document? I want share a Word file with m...
How to join a team in Microsoft Teams? My manager told me we are using Microsoft Teams service. In o...
How to run Fitbit Connect for the first time and create a new account on Fitbit server? I have Fitbi...
Sometimes I see special symbols are showing up at the end of each paragraph in my Microsoft Word doc...
How to see the key exchange process in an SFTP connection with FileZilla FTP Client? If you are conn...