I know that this is answered but i cajnt find the ans开发者_开发问答wer...
I want to pass within ahidden 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"]) . "' />";
精彩评论