Just a test task I've been made for checking my PHP skills. Has no practical value and stored on GitHub only as a code example.
It was forbidden to use any existing PHP frameworks to achieve mentioned goals, so page uses its own small core with framework-like functionality. For quick layout it uses Twitter Bootstrap CSS framework.
So that's what this page does:
-
After submitting the form, page creates cookie with encrypted registration token and sends an email to mail box you've entered. You get send mail confirmation:
-
This email contains a link with same token as was saved in cookie:
-
By clicking this link (if your cookie is still alive), you will be registered and able to see your new profile:
-
Now you can come back any time and login with your new credentials:
And that's it! ))