Profile
Achievement
paulgrenwood's Recent PHP SnippetsTagged forms
- All /
« Prev 1 Next »
Variables that are submitted via web forms always need to be cleaned/sanitized before use in any way, to prevent against all kinds of different malicious intent.
0
515
posted 14 years ago by paulgrenwood
E-mail validation is perhaps the most used validation in web forms, this code will validate email address and also optionally check the MX records of the domain provided in email address to make email validation more robust.
2
742
posted 14 years ago by paulgrenwood