I have "5" users email, and I want to send them a Link for one time use, means if anyone click on that link rather than first time link should expire, How can we do this without access with database? Here is my current code (email.php)
$secret = "35onoi2=-7#%g03kl";
$email = urlencode($_POST['email']);
$hash = MD5($_POST['email'].$secret);
$link = "http://example.com/register.php?email=$email&hash=$hash";
In register.php there is only content/data,How can i check if someone already click on that link or not ?