title: Using special code to confirm new user registration
body: <p>When someone will register on my site, he will receive a confirmation link to let him finish registration.
  Idea I have is to make a column in table "Users" with randomly generated number. Next, I send a link to user's email, example link: <a href="http://example.com/confirm.php?user=newuser&amp;code=54355345534" rel="nofollow noreferrer">http://example.com/confirm.php?user=newuser&amp;code=54355345534</a><br>
  When he clicks on it, it checks his login and number from link wirh number in table Users.<br>
  It works OK, but i need extra column. Is this good idea? Second idea I had, it to use Salt as confirmation code, is this good or not?  </p>
  
  <p>Edit: Is possible to move this to <a href="https://security.stackexchange.com/">https://security.stackexchange.com/</a>?</p>