Thanks everyone for your replies, they were very helpful.

However I found a way to use the normal javascript urlencode functions
with CakePHP: all you have to do is pass the urlencoded parameters to
your action via GET, like:

http://mysite/controller/action?param1=urlencodedvalue1&param2=urlencodedvalue2

The urlencoded values will be decoded only once (so it wont mess up
cake), and will be avaiable in your controller via
$this->params['url']['param1'] for example. You can use them directly,
without decoding. If you need to pass them to other actions, just
urlencode them again in PHP and pass them in a redirect in the same
manner.

Hope it helps you guys too.

Rodrigo.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to