How can hide url value in php

769 Views Asked by At

i done a project in php i want to hide my URL in address bar how can i hide any one help me please

http://www.mysite.co.in/tempserv/bos/fm/index.php?page=reports&pageid=2&uid=109"

this is my URL i want to show to users up to index.php only like

http://www.mysite.co.in/tempserv/bos/fm/index.php How can i hide this

2

There are 2 best solutions below

2
On

Use POST method instead of GET. Eg.

----------- ----------- -----------
2
On

Use the POST method

<form action="#" method="post">
.......
</form>

and in the php use in an string to receive POST method

$var = $_POST['name_input'];