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 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 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 very much for your help.
>>
>

-- 
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to