title: How to send an email with a link to reset password in PHP
body: <p>I love exploring the world of PHP through <a href="http://benoitmignault.ca/login/login.php?langue=english" rel="nofollow noreferrer">my website</a> by creating small projects personal who give me experience for the current and future work who knows ...</p>
  
  <p>I will add very soon the information of email when a user creates an account on my website...</p>
  
  <p>After a few hours of research and reading, I can not find or understand how to send an email with a link to reset the password of a user...</p>
  
  <p>Here is my method of hashing:</p>
  
  <pre><code>$options = ['cost' =&gt; 11, 'salt' =&gt; random_bytes(22)];
  $passwordCrypter = password_hash($password, PASSWORD_BCRYPT, $options);
  </code></pre>
  
  <p>I think we need to use this method because to decrypt a password is not recommended I think...</p>
  
  <p>But why...I want to understand...</p>
  
  <p>Thx </p>
  
  <p>Have a nice guys </p>