Hi,
One of my PHP pages sends a text parameter to antoher page. I use urlencode() for special characters but, in front of each quote ( ' ), it puts a backslash ( \ ).
How can I avoid it ?
Please help me.
you can't but on the page that gets the parameter you could use $string = stripslashes($string);
What version of PHP are you using?
PHP4.0.0
Why ?
Have you tried using urldecode()?
Andreas
Thanks very much. It works fine !
It's wonderfull !! I even can put \ in my texts and it does not take those off.
Yes but it was not working. Actually, Louie (2nd response) gave me the solution.
If you are using an up-to-date version of PHP urlencode will encode the tick properly and deocde it properly