title: Alternate way To send data From Url?
body: <p>I am working on a web application in which i want to make some security constraints and want to know the alternative way to send the data or id from URL in a secure way.for example:</p>
  
  <pre><code>$id=$row=['id'];
  $name=$row['name'];
  
  &lt;a href="projects.php?project_id=&lt;?pho echo $id; ?&gt;&amp;name=&lt;?php echo $name; ?&gt;"&gt;
  </code></pre>
  
  <p>so is there any alternate way to send this two attributes in a secure way to the project.php ?
  I just only want that the id &amp; name should not be visible on url.
  Please guide me ,i know this is very basic feature of PHP and i just want to find the alternate or secure solution.
  i know i am sending the data using get but is there any alternate way to send data to project.php without using  tag? </p>
  
  <p>I tried this after all comments &amp; answer ,so the answer is :</p>
  
  <pre><code>&lt;?php
  $id="1";
  $name="Harshal";
  ?&gt;
  &lt;a href="projects.php?id=&lt;?php echo base64_encode($id) ?&gt;&amp;name=&lt;?php echo base64_encode($name) ?&gt;"&gt;Send&lt;/a&gt;
  </code></pre>
  
  <p>and on projects.php</p>
  
  <pre><code>&lt;?php
  echo $idd=base64_decode($_GET['id']);
  echo $namme=base64_decode($_GET['name']);
  ?&gt;
  </code></pre>
  
  <p>It works...!!</p>