Web Analytics Made Easy -
StatCounter Activation - CodingForum

Announcement

Collapse
No announcement yet.

Activation

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

  • Activation

    how do i make activation codes for a site so when you register you have to put an activation code in to activate an account

  • #2
    You send a string of random characters along with the confirmation mail to the user who has just registered, and tell him to use this activation code to confirm his registration. Store the activation code with his username + password in a database. Include a link to an account activating page on your site, where the user has to put that code into a form, and also his username.

    After he does that and submits the form, compare the sent activation code to the one that corresponds to the one stored with the username in the database. If they match, account is activated. If not, redirect to an error page.

    If you tell us with which specific part of the process you have problems we can give better help.
    De gustibus non est disputandum.

    Comment


    • #3
      ALL OF IT

      ALL OF IT

      Comment

      Working...
      X