Page 1 of 1

urlencode function

Posted: Mon Mar 26, 2007 6:13 am
by itsmani1
hi
I want to handle strings like
New "paint" provides wireless
in my url but they create problems and only show "New" i tried to solve it using urlencode() but it did not worked.
any idea

Posted: Mon Mar 26, 2007 6:18 am
by onion2k
I strip everything that isn't alphanumeric out of URLs, and replace all the spaces with either _ or - (depending on the site specification).

Re: urlencode function

Posted: Mon Mar 26, 2007 8:01 am
by lanasa
Can you give an example of the exact code you are using?