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 -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -