How can hide url value in php

728 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 answers

2
Praveen sivadasan On

Use POST method instead of GET. Eg.

----------- ----------- -----------
2
Luca Albuquerque 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'];