开发者

About passing referrer php

I know that this is answered but i cajnt find the ans开发者_开发问答wer...

I want to pass within a hidden field the value of $_SERVER["REQUEST_URI"]

I dont know how value in <input type='hidden' value=''/> should be echoed ..

It is sent through post... I tried using rawurlencode( $_SERVER["REQUEST_URI"])) but i have to do decode again... Is there any other solution ?


echo "<input type='hidden' value='" . htmlspecialchars($_SERVER["REQUEST_URI"]) . "' />";
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜