简体   繁体   中英

How can hide url value in php

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

Use POST method instead of GET. Eg.

----------- ----------- -----------

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'];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM