Re: How to pass parameter with '/' into URL?

2012-09-18 Thread Lightee
My php app is providing web services and the client need not use php. How would a URL look like if a param contains '/' ? On Tuesday, September 18, 2012 9:34:09 PM UTC+8, euromark wrote: > > cakephp is still php. > try to use urlescape() or rawurlescape() > > if you plan on passing a lot of those

Re: How to pass parameter with '/' into URL?

2012-09-18 Thread euromark
cakephp is still php. try to use urlescape() or rawurlescape() if you plan on passing a lot of those special characters you can also try to use base64encode and decode as the Search plugin does Am Dienstag, 18. September 2012 14:09:51 UTC+2 schrieb Lightee: > > Dear CakePHP experts, > > When pa

How to pass parameter with '/' into URL?

2012-09-18 Thread Lightee
Dear CakePHP experts, When passing parameters through URL, it will look like something below; mysite.com/myController/myAction/param1/param2 My problem is that my parameters also happen to contain characters like '/'. Is there some sort of escape character to overcome this problem? Thank you ve