Email Verify Scrip

Discussion in 'HTML & Website Design' started by Remy718, Sep 13, 2007.

  1. #1
    Looking for a scrip or a program that will verify rather the emails in my database are dead or active .
     
    Remy718, Sep 13, 2007 IP
  2. _Eugene_

    _Eugene_ Member

    Messages:
    72
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    probably this one will fit your needs hotscripts.com/Detailed/35722.html
     
    _Eugene_, Sep 14, 2007 IP
  3. jDare

    jDare Guest

    Messages:
    218
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Looks like that php script would work good to put on a form to make sure they enter the "email" field correctly but it won't actually check to see if the emails Remy718 already has in his database are still working.
     
    jDare, Sep 14, 2007 IP
  4. ashrafweb

    ashrafweb Member

    Messages:
    67
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #4
    var emailReg = "^[\\w-_\.]*[\\w-_\.]\@[\\w]\.+[\\w]+[\\w]$";
    var regex = new RegExp(emailReg);
    if (!regex.test(document.getElementById('txtEmail').value))
    //if (document.getElementById('txtEmail').value.indexOf('.')==-1 ||document.getElementById('txtEmail').value.indexOf('@')==-1 || document.getElementById('txtEmail').value.lastIndexOf('.') < document.getElementById('txtEmail').value.indexOf('@'))
    {
    alert ("يجب إدخال بريد صحيح");
    document.getElementById('txtEmail').focus();
    return false;
    }
    else
    {
    postFeedbackVal();
    }
     
    ashrafweb, Sep 14, 2007 IP
  5. weiqi

    weiqi Peon

    Messages:
    136
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thanks ashrafweb
     
    weiqi, Sep 16, 2007 IP