Re: Using & in URL as unnamed param
I already try this and not work.
See the result
Array (
[pass] => Array (
[0] => home
[1] => P
)
[named] => Array ( )
[plugin] =>
[controller] => pages
[action] => display
[form] => Array ( )
[url] => Array (
[url] => pages/home/P
[B] =>
)
[isAjax] =>
)
On 3 ago, 09:55, Norman Paniagua <normanpania...@gmail.com> wrote:
> With the js function escape I get %26
>
> Try in firebug or other javascript console to execute
>
> escape('&')
> ---
>
> Norman Paniagua
>
> 2010/8/3 Rodrigo Mourão <rodr...@euforia.com.br>
>
>
>
> > Hello,
>
> > I trying to use url: http://localhost/appname/pages/Black&White, but
> > the CakePHP try to load the page black.ctp.
> > print_r($this->params), it only get Black in $this->params['pass'][0]
>
> > I try use a urlencode in &, but not work.
>
> > How can I get the Black&White?
>
> > Best regards
> > Rodrigo
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.c om>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home