Results 1 to 2 of 2

Thread: confirmation email on new registration help?

  1. #1
    Join Date
    May 2013

    confirmation email on new registration help?

    Hello friends,
    I want to make my website registration more secure and i want to send a confirmation mail on new registration. so guys help me and suggest me a best php script for that.

  2. #2
    Join Date
    May 2013
    Step 1
    // Create the activation code:
    $email = get the email id
    $a = md5(uniqid(rand(), true));
    $link = 'http://ursite.com/activate.php?x='.urlencode($email).'&y='.$a;

    Save the above code in ur Data base and send a mail to the email id with this link.

    Step 2
    In the activate.php page, just match the clicled url with ur Database stored url in step 1.

    Thats all..

    Let me know if u need any more clarification

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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