29.08.2016, 14:57
Quote:
You could also check if the e-mail provider is valid. So you have a list of many e-mail providers which you found.
like gmail,freenet,aol etc. Then you make an array of them and when a play enters the e-mail you check if the e-mail provider is listed in the array. |
The most thorough solution is a regular expression. But if you don't want to use that plugin you can probably also get by using sscanf, using something like:
PHP код:
"{s[256]'@'s[256]'.'s[256]}"