validate email

Discussion in 'PHP' started by kalaid, Oct 17, 2007.

  1. kalaid

    kalaid New Member

    Joined:
    Jul 21, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    I want to validate an email id. Is it possible to validate an e-mail in php?
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,336
    Likes Received:
    377
    Trophy Points:
    83
    Yup.
     
  3. Safari

    Safari New Member

    Joined:
    Oct 16, 2007
    Messages:
    183
    Likes Received:
    17
    Trophy Points:
    0
    All you need to check is

    The string has @
    alphanumeric before @
    Domain after @
     

Share This Page