On 12/29/06, @leX <[EMAIL PROTECTED]> wrote:
I'm using the SLASH format for passing params to controller from a URL so that users can modify the url i.e. http://www.somthing.com/controller/param1/param2/param3 last param (i.e. param3) is a string which may contain characters such as question marks '?' or even forward slashes '/'. As you probably already know, these characters are reserved chars for URL's with some special meaning. Is there a function in cakephp for coding these string to allow me to pass strings via the url (e.g. hash the string or something like that).
http://php.net/urlencode http://php.net/urldecode Or http://php.net/base64_encode http://php.net/base64_decode When using urlencode() to encode the parameter, there is no need for you to urldecode() the parameter when extracting it from $_GET. -- _nimrod_a_abing_ [?] http://abing.gotdns.com --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
