already knows that md5 is irreversible.
there is a simple way to generate token
$token = md5 ($username.$password.$regtime);
1. If you can"t reverse it, why is token only valid for 24 hours?
generated validation link
register/active.php?verify= ".$ token."
2. I know that token does not contain spaces of slash symbols. Why does the code need to write
$verify = stripslashes (trim ($_ GET ["verify"]));
stripslashes when activated? there is no need for
trim and no need for ha