Hello,

I want to use an url as a parameter in a cake function through the
url. Something like this:

in index.thtml I have:
<?php
    echo $html->link("mylinktitle", "/orders/show/" .
urlencode("http://www.domain.com/text?abc=12";);
?>

Trying to use the parameter like this in the controller:

....
    function show($url)
    {
        debug($url);
    }

always gets me an 404 error, because the / in the $url are encoded
into %2f but they are still not recognized.
Is this a cake or a mod_rewrite problem ?

Siegfried

-- 
Siegfried Hirsch
http://www.rss-blogger.de / http://seconds11.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to