phpnewbei Posted September 20, 2010 Share Posted September 20, 2010 As the topis says, I need help with an email form. You must have valid email address to go further, so lets say you write asdada as email, you won't be able to register the account, you must have [email protected] or something like that. If anyone knows it would be awesome! Link to comment https://forums.phpfreaks.com/topic/213888-email-form-can-only-be-sended-if-the-form-contains-a/ Share on other sites More sharing options...
litebearer Posted September 20, 2010 Share Posted September 20, 2010 http://www.electrictoolbox.com/php-email-validation-filter-var/ Link to comment https://forums.phpfreaks.com/topic/213888-email-form-can-only-be-sended-if-the-form-contains-a/#findComment-1113205 Share on other sites More sharing options...
phpnewbei Posted September 20, 2010 Author Share Posted September 20, 2010 Ah, thank you so much! Link to comment https://forums.phpfreaks.com/topic/213888-email-form-can-only-be-sended-if-the-form-contains-a/#findComment-1113208 Share on other sites More sharing options...
phpnewbei Posted September 20, 2010 Author Share Posted September 20, 2010 But if I want to check from form like this: if (($_GET["email"]) == filter_var("[email protected]", FILTER_VALIDATE_EMAIL)) (Don't ask me what've done, I just tested some things ^^) How do I do then? Link to comment https://forums.phpfreaks.com/topic/213888-email-form-can-only-be-sended-if-the-form-contains-a/#findComment-1113213 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.