https://www.codeofaninja.com/email-activation-php-script-tutorial/
Email Activation Code in PHP