php - $_GET removes URL Encoded Characters, how to get the true _GET value? -


this question has answer here:

1.php?test=%28004%2f58%29gunmetal%2fcrystal+green+polar.+lenses

if i'll try input

echo $_get['test']

i'm getting

"00458gunmetalcrystal green polar. lenses"

what need is

"%28004%2f58%29gunmetal%2fcrystal+green+polar.+lenses" or "(004/58)gunmetal/crystal green polar. lenses"

the php _get translates encoded chars % , + real value, know how real value? %28004%2f58%29gunmetal%2fcrystal+green+polar.+lenses

the "duplicate question" mark not correct. duplicate link not same @ all

thanks in advance

you can use $_server['query_string'] query string. contain variables, not 'test'.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -