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:
$id=$row=['id'];
$name=$row['name'];
<a href="projects.php?project_id=<?pho echo $id; ?>&name=<?php echo $name; ?>">
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 & 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?
I tried this after all comments & answer ,so the answer is :
<?php
$id="1";
$name="Harshal";
?>
<a href="projects.php?id=<?php echo base64_encode($id) ?>&name=<?php echo base64_encode($name) ?>">Send</a>
and on projects.php
<?php
echo $idd=base64_decode($_GET['id']);
echo $namme=base64_decode($_GET['name']);
?>
It works...!!