How to do a registration confirmation email which will expires within 24 hr
<p>I have a php registration form but now I want to create a registration confirm email which will send to provided email and  expires within 24 hr. and when that link is clicked then registration will be confirmed.</p>

<p>Please anybody help and provide some code.
Thanks in advance. </p>
