When a user signs up for my website I send them out a verification email. They need to click on a link in their email to verify their email address.
In the email there is a message lke this.
Code: Select all
$message = "To verify your account please click this " . SITE_URL . "/" . "verify.php?loginId=" .$loginId;Code: Select all
$message = "To verify your account please click this " . SITE_URL . "/" . "verify.php?loginId=" . md5(sha1($loginId));Code: Select all
$login = new Login();
$login->verify($_REQUEST['loginId']);Or am I going about this verification progress completely wrong? Can anyone point me in the right direction.