how to validate users by sending activation link in email ,

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • awan
    replied
    Originally posted by mirror View Post
    hey i m not able to get thing working bro , i created this activate.php , i hve tables named CODE and ACTIVE in users , email r sent to users also but even without clicking the link they r able to enter pls help in this , i m enclosing my old registraton n new which i modified , and activate.php also , , i hve been trying for months
    I using ejatd29 sc, so what must i do, plz teach me,

    Leave a comment:


  • Junkle
    replied
    Also this same problem in my uloki script, activation emails are n0t sent to users. Plz haz ani1 correct hiz own shuld kindly help me. Tanx

    Also this same problem in my uloki script, activation emails are n0t sent to users. Plz haz ani1 correct hiz own shuld kindly show me the way out. Tanx

    Leave a comment:


  • ewanz
    replied
    I have make it in my site, pm me if u want it..

    Leave a comment:


  • mirror
    replied
    Originally posted by wap2k View Post
    change

    Code:
    if (mail($email,Validation link from, $body))
    with
    Code:
    if(mail($email,"Validation link from", $body))
    , yes . i corrected it tht way but still no mails are sent n even activation key is not inserted

    Leave a comment:


  • wap2k
    replied
    change

    Code:
    if (mail($email,Validation link from, $body))
    with
    Code:
    if(mail($email,"Validation link from", $body))

    Leave a comment:


  • mirror
    replied
    Originally posted by Loony View Post
    man i done this on my iphone so if it doesnt work just read the error and check that line there might be some errors but it all should work.

    Added after 2 minutes:

    also ur lucky i agreed be4 i saw what script is was if i knew it was lavalair i wouldnt have done it i have never made updates for lava and never will again seeing those files bought back my feelings towards that script.
    uhmmm its not working , something wrong here in this line
    if (mail($email,Validation link from, $body))
    mail is not sent and the code also not generated or inserted and i m not able to login from my pc any id dnt know why .

    Leave a comment:


  • Loony
    replied
    man i done this on my iphone so if it doesnt work just read the error and check that line there might be some errors but it all should work.

    Added after 2 minutes:

    also ur lucky i agreed be4 i saw what script is was if i knew it was lavalair i wouldnt have done it i have never made updates for lava and never will again seeing those files bought back my feelings towards that script.
    Attached Files
    Last edited by Loony; 18.01.11, 10:51.

    Leave a comment:


  • mirror
    replied
    Originally posted by Loony View Post
    mate export your users table and upload ur register and login pages ill do it for you.


    okay bro here is what u asked for , it would be a great favour
    Attached Files

    Leave a comment:


  • whitewingz
    replied
    mate add this in your registration form..


    $random_number = rand(5000000,9000000000);

    $rform .= "$vld <input type=\"hidden\" name=\"vld\" format=\"*x\" value=\"$random_number\" maxlength=\"30\"/>";

    Leave a comment:


  • Loony
    replied
    mate export your users table and upload ur register and login pages ill do it for you.

    Leave a comment:


  • mirror
    replied
    hey i m not able to get thing working bro , i created this activate.php , i hve tables named CODE and ACTIVE in users , email r sent to users also but even without clicking the link they r able to enter pls help in this , i m enclosing my old registraton n new which i modified , and activate.php also , , i hve been trying for months
    Attached Files

    Leave a comment:


  • frostymarvelous
    replied
    Ok, so simple steps.
    Create two columns in the user table.
    One named "code" and the other, "verified"
    Code should not be null and verified should default to a negative response. "0" or "no" whichever you prefer.
    When the user registers, create the hash unique to that user, eg. Md5($un."suitably long salt")
    Send this code to user in email.
    Now. Your verify page should take the input, sanitise it then make a query for that hash. You can take the username also and compare the hash and username(extra security). Make sure it is not already verified the update table, and echo a success msg.
    Goodluck.
    Teach a man to fish.....

    Leave a comment:


  • mirror
    replied
    just in my initial stages of coding bro so a little asking for help , i will try again

    Leave a comment:


  • frostymarvelous
    replied
    Dude. You need to as whiteboy said, create a new column iin ur users table. Set default to no or 0 or wateva.
    When users register, send them a link with. Hash of their user details. Choose carefully as using just username, they can detect and end up spamming ur site.
    So say , username email and a salt all hashed.
    When the user enters the code in you verification page. Use get so. You can send an url to them.
    Here's the tricky part, you can either store the hash in a column and just query it or a more inefficient way is just to fetch all rows and compare the hash of their details with the. Submitted hash.
    You can choose to do it as you wish but basically, that is it.

    Unless, as I can infer from your second post you can't code. Then you need to get someone to do it for you.

    I accept liberty reserve btw.

    Leave a comment:


  • mirror
    replied
    hehe nice reply u give friend i better just read the forums instead of posting here , anyway thnks i got the idea from ur posting , i wont forget to thank u

    Leave a comment:

Working...
X