confirmation email on new registration help?
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.
// 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.
In the activate.php page, just match the clicled url with ur Database stored url in step 1.
Let me know if u need any more clarification
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)