What is the best way to do 'Reset Password' functionality in php?
<p>What is the best way to do 'Reset Password' functionality in php ?</p>

<p>Two step process. </p>

<ul>
<li><p>User will enter the email Id, mail will send him to user with the link.</p></li>
<li><p>When user click the link, he can see tow fields to reset his password.</p></li>
</ul>

<p>Can anybody right the script flow for this ?</p>
