Re: [PHP] passing string variables in url

2001-04-09 Thread Alexander Wagner
Claudia Smith wrote: > I am passing a string value via a url to be used for printing on a > page and for sending info via email. > > I first encode the string before passing it. This is correct, but you should be using urlencode() instead of rawurlencode(). To be frank, I don't know what the di

[PHP] passing string variables in url

2001-04-09 Thread Claudia Smith
I am passing a string value via a url to be used for printing on a page and for sending info via email. I first encode the string before passing it. The issue I have is for strings that contain single or double quotes. When I print the value that has been passed in the url the \ is printed. F