Re: HtmlHelper does not like multiple URL parameters?

2010-01-28 Thread AD7six
On 28 ene, 08:59, Johnny Cupcake wrote: > My code (Cake 1.2.5): > echo $html->url( array( >    'controller' => 'users', >    'action' => 'activate', >    '?' => array('e' => 'EMAIL', 'c' => 'CODE')), TRUE ); > > The output:http://localhost/index.php/users/activate?e=EMAIL&c=CODE > > This output

Re: HtmlHelper does not like multiple URL parameters?

2010-01-28 Thread Miles J
Why don't you just use named params instead of a query string? /users/active/email:t...@test.com/code:Jnds08JSD/ On Jan 28, 11:43 am, Johnny Cupcake wrote: > I may do that...but I first want to know whether I am using these > functions wrong, or they simply do not work as advertised. > > On Jan

Re: HtmlHelper does not like multiple URL parameters?

2010-01-28 Thread Johnny Cupcake
I may do that...but I first want to know whether I am using these functions wrong, or they simply do not work as advertised. On Jan 28, 3:43 am, euromark wrote: > why dont u use mod_rewrite and pretty urls instead? > cleaner and much more fail proof anyway > > On 28 Jan., 10:00, Johnny Cupcake w

Re: HtmlHelper does not like multiple URL parameters?

2010-01-28 Thread euromark
why dont u use mod_rewrite and pretty urls instead? cleaner and much more fail proof anyway On 28 Jan., 10:00, Johnny Cupcake wrote: > Ack, my post was auto-mangled.  There is a difference there: & vs. "& > amp;".  Try the "Show original" link on the post. > > On Jan 28, 12:08 am, Jeremy Burns

Re: HtmlHelper does not like multiple URL parameters?

2010-01-28 Thread Johnny Cupcake
Ack, my post was auto-mangled. There is a difference there: & vs. "& amp;". Try the "Show original" link on the post. On Jan 28, 12:08 am, Jeremy Burns wrote: > Aren't those two outputs the same? > > Jeremy Burns > > On 28 Jan 2010, at 07:59, Johnny Cupcake wrote: > > > My code (Cake 1.2.5): >

Re: HtmlHelper does not like multiple URL parameters?

2010-01-28 Thread Jeremy Burns
Aren't those two outputs the same? Jeremy Burns On 28 Jan 2010, at 07:59, Johnny Cupcake wrote: > My code (Cake 1.2.5): > echo $html->url( array( > 'controller' => 'users', > 'action' => 'activate', > '?' => array('e' => 'EMAIL', 'c' => 'CODE')), TRUE ); > > The output: > http://localhost

HtmlHelper does not like multiple URL parameters?

2010-01-27 Thread Johnny Cupcake
My code (Cake 1.2.5): echo $html->url( array( 'controller' => 'users', 'action' => 'activate', '?' => array('e' => 'EMAIL', 'c' => 'CODE')), TRUE ); The output: http://localhost/index.php/users/activate?e=EMAIL&c=CODE This output is wrong, right? Should be: http://localhost/index.php/us