How to implement send mail to visitor to active account?

hoangthienphuc's Avatar, Join Date: Mar 2007
Go4Expert Member
I am going to build a page that get visitor's input (email) and send the link with active code (encrypted by visitor's email) to visitor then when visitor check that mail and click that link --> continue to my page to finish register user. Someone plz tell me..
Thanks for any response.
0
pradeep's Avatar, Join Date: Apr 2005
Team Leader
That is you want to send a confirmation mail! You can generate a random number when the user registers and store it in your DB and send a link using that number, like www.go4expert.com/confirm.php?confirmCode=656565 Hop you got it!
0
hoangthienphuc's Avatar, Join Date: Mar 2007
Go4Expert Member
But how to use the encrypt number with the link like this :
http://missworldvote.client.ninesyst...f2d1b05c56cb5d
i trying to do it with $_GET but it did not link to the expect page.
I want to put like the link above in the email Box of the visitor when he input his email address.
Thanks a lot.