I’m using a confirmation link method to activation of user account in my website.when user submit the form, I send a link on user email address, with activation code. when user click on this link he redirect on my site registration page with value in address bar like
http://showmycode.co.in/boobloom/register?email=omnath0@gmail.com&activation_code=caU8xWxvYM
how can check the email address and activation code for active the user status…and i get the value email address and activation code.
$confirmLink = HTTP_PATH.'register'.'?'.'email'.'='.$to.'&'.'activation_code'.'='.$confirmationcode;
If you mean how to read the incoming values, like this:
However, the above is not the best way to go about doing things (specifically, you want to avoid PHP notices if the URL does not contain the variables), so you would be better off writing a small helper function: