title: how to send user id in secure way using get method
body: <p>I am trying to secure my user id. I have to page <strong><code>user.php</code></strong> and <strong><code>user_account.php</code></strong>. I am sending user to <code>user_account.php</code> by a anchor tag. </p>
  
  <p>In <code>user_account.php</code> page it is showing this plain user_id(as like 25, 26,23). It is potential security threat for my application. I have to do some operation based on the user_id that is sending form <code>user.php page</code>.</p>
  
  <p>I get it that first I have to <strong>encrypt</strong> it and then have to <strong>decypt</strong> it.</p>
  
  <p>here is my code: </p>
  
  <pre><code>echo '&lt;a href="user_account.php?id='.$single_id.'"&gt;'.$user_name.'&lt;/a&gt;'; 
  </code></pre>
  
  <p>I am sending it from my <code>user.php</code> page. and user_account.php page just get it by get method.</p>
  
  <p>But how can I send it secure way and prevent user from manipulate it</p>
  
  <p>.Any king of help will be appreciated</p>