php queries

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nickyspace
    New Member
    • Mar 2008
    • 14

    php queries

    hi

    i want a help regarding activation link in php

    i have registration page where the user have to input email id and password and click submit when the user click submit then user should receive an activation mail in the mailbox when they will click on activation link it should redirect to us .

    help me please
  • TheServant
    Recognized Expert Top Contributor
    • Feb 2008
    • 1168

    #2
    PLEASE post your code. We can't guess the correct solution from an infinite list of possibilities! And use code tags!

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #3
      We don't write code for you.
      But you say you've already got the code written that sends the user an email?
      You send them a unique confirmation key; they then use this confirmation key on your website - you then check to see if this confirmation key is valid and then open the account.

      Regards.

      Comment

      • aktar
        New Member
        • Jul 2006
        • 105

        #4
        All you have to do is send the user a (HTML) email with a link back to your site.

        for eg (example only)

        [CODE=html]<a href='yoursite. com/activate.php?ac countID=10021'> Acitvate now!!</a>[/CODE]

        activate.php will then mark that account as active in your database (or however you choose to do it)

        Comment

        Working...