(cutted the part about sending a var as get)


page.php?my_var=whatever+whatever++%5C%22whatever+whatever%5C%22&next_var=blabla
ok so here the variable is still complete, including slashes and quotes.


And now, on page.php

If I do an

echo stripslashes($my_var);

I get exactly this:

whatever whatever \

i get better results with


echo stripslashes(urldecode($_GET['my_var']));
(or in your version
echo stripslashes(urldecode($my_var));
)


this even though Marek said "Incomming GET values are urldecoded automaticaly, no need to do this." (this=urldecode)




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to