Re: HtmlHelper does not like multiple URL parameters?
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/index.php/users/activate?e=EMAILc=CODE This output is wrong, right? Should be: http://localhost/index.php/users/activate?e=EMAILc=CODE Workarounds? Must I use slashes as argument delimiters, or just build the URL myself? 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+unsubscr...@googlegroups.com 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: HtmlHelper does not like multiple URL parameters?
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 jeremybu...@me.com 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): echo $html-url( array( 'controller' = 'users', 'action' = 'activate', '?' = array('e' = 'EMAIL', 'c' = 'CODE')), TRUE ); The output: http://localhost/index.php/users/activate?e=EMAILc=CODE This output is wrong, right? Should be: http://localhost/index.php/users/activate?e=EMAILc=CODE Workarounds? Must I use slashes as argument delimiters, or just build the URL myself? 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+unsubscr...@googlegroups.com For more options, visit this group athttp://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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: HtmlHelper does not like multiple URL parameters?
why dont u use mod_rewrite and pretty urls instead? cleaner and much more fail proof anyway On 28 Jan., 10:00, Johnny Cupcake sparklew...@hotmail.com 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 jeremybu...@me.com 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): echo $html-url( array( 'controller' = 'users', 'action' = 'activate', '?' = array('e' = 'EMAIL', 'c' = 'CODE')), TRUE ); The output: http://localhost/index.php/users/activate?e=EMAILc=CODE This output is wrong, right? Should be: http://localhost/index.php/users/activate?e=EMAILc=CODE Workarounds? Must I use slashes as argument delimiters, or just build the URL myself? Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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+unsubscr...@googlegroups.com For more options, visit this group athttp://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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: HtmlHelper does not like multiple URL parameters?
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 dereurom...@googlemail.com 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 sparklew...@hotmail.com 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 jeremybu...@me.com 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): echo $html-url( array( 'controller' = 'users', 'action' = 'activate', '?' = array('e' = 'EMAIL', 'c' = 'CODE')), TRUE ); The output: http://localhost/index.php/users/activate?e=EMAILc=CODE This output is wrong, right? Should be: http://localhost/index.php/users/activate?e=EMAILc=CODE Workarounds? Must I use slashes as argument delimiters, or just build the URL myself? Check out the new CakePHP Questions sitehttp://cakeqs.organdhelpothers 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+unsubscr...@googlegroups.com For more options, visit this group athttp://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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: HtmlHelper does not like multiple URL parameters?
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 sparklew...@hotmail.com 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 28, 3:43 am, euromark dereurom...@googlemail.com 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 sparklew...@hotmail.com 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 jeremybu...@me.com 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): echo $html-url( array( 'controller' = 'users', 'action' = 'activate', '?' = array('e' = 'EMAIL', 'c' = 'CODE')), TRUE ); The output: http://localhost/index.php/users/activate?e=EMAILc=CODE This output is wrong, right? Should be: http://localhost/index.php/users/activate?e=EMAILc=CODE Workarounds? Must I use slashes as argument delimiters, or just build the URL myself? Check out the new CakePHP Questions sitehttp://cakeqs.organdhelpotherswith 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+unsubscr...@googlegroups.com For more options, visit this group athttp://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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: HtmlHelper does not like multiple URL parameters?
On 28 ene, 08:59, Johnny Cupcake sparklew...@hotmail.com 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=EMAILc=CODE This output is wrong, right? Should be:http://localhost/index.php/users/activate?e=EMAILc=CODE Workarounds? Must I use slashes as argument delimiters, or just build the URL myself? I'd suggest googling ampersand in url, or trying to validate any page that contains your right link. AD 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
HtmlHelper does not like multiple URL parameters?
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=EMAILc=CODE This output is wrong, right? Should be: http://localhost/index.php/users/activate?e=EMAILc=CODE Workarounds? Must I use slashes as argument delimiters, or just build the URL myself? 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en