Feb 18, 2004 #1 GoPo Technical User Joined Dec 9, 2003 Messages 11 Location BE How can i check if an email adress contains a @ ? Thx --------------------------------------- http://www.ajouta.be
How can i check if an email adress contains a @ ? Thx --------------------------------------- http://www.ajouta.be
Feb 18, 2004 1 #2 herman75 Programmer Joined Feb 4, 2004 Messages 33 Location NL just checking for an @ can be with strpos(). But for validating e-mail addresses you better use a regular expression http://www.webreference.com/programming/php/regexps/index.html Upvote 0 Downvote
just checking for an @ can be with strpos(). But for validating e-mail addresses you better use a regular expression http://www.webreference.com/programming/php/regexps/index.html
Feb 18, 2004 #3 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US I also have a FAQ in this forum which covers validating email addresses: faq434-2408 Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
I also have a FAQ in this forum which covers validating email addresses: faq434-2408 Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!