Results 1 to 2 of 2

Thread: best way to validate an email address

  1. #1
    Join Date
    May 2009
    Location
    Greensboro, GA
    Posts
    163
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default best way to validate an email address

    I have seen online way too many ways to validate an email address; javascript, php, input type=email..........etc.
    What is the best way
    Last edited by mcolton; 06-25-2014 at 03:23 PM.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    You should always perform server-side validation, so a server-side language such as PHP should do the final check, although you can offer more visual/immediate client-side feedback on the actual web page using JavaScript.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. The Following User Says Thank You to Beverleyh For This Useful Post:

    mcolton (06-25-2014)

Similar Threads

  1. Validate email before proceeding.
    By peteralexander in forum Looking for such a script or service
    Replies: 0
    Last Post: 08-24-2010, 01:13 PM
  2. Email validate
    By acctman in forum Looking for such a script or service
    Replies: 1
    Last Post: 04-14-2009, 12:01 PM
  3. Encrypt Email script won't validate
    By Hanako in forum Bug reports
    Replies: 0
    Last Post: 02-28-2008, 07:10 PM
  4. Email forms ?? with hidden email address
    By bighurt35 in forum JavaScript
    Replies: 5
    Last Post: 01-12-2006, 11:11 PM
  5. Email forms ?? with hidden email address
    By bighurt35 in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 01-12-2006, 04:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •