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
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
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
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
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):
>
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
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