1 2 3 4 5 6 7 8 9 10 11 12 13
<?php require_once "user.php"; function generate_email_verification_link() { /*TODO*/ $url="{$domain_name}/register/"+random_bytes(20); mail($email,"Registration at ${domain_name}","Click here to register {$url}."); } ?>