Hi MI, great..its working now..after you reply...Probably the problem was due to use of "named parameter code" (http://bakery.cakephp.org/articles/ view/129 ) but I cannot say conclusively
However one question ...using controller/action?site=... basically you are passing named parameters in traditional way...then why do you need "named parameter" logic as developed in the above article.. n'ways..thanks for the help.. bingo. On Apr 14, 2:05 am, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > No way, that example I give you works with no problem both on 1.1 or 1.2, > seems like you have issues on your Server installation. Web server, CakePHP > version, etc. etc.? > > -MI > > --------------------------------------------------------------------------- > > Remember, smart coders answer ten questions for every question they ask. > So be smart, be cool, and share your knowledge. > > BAKE ON! > > blog:http://www.MarianoIglesias.com.ar > > -----Mensaje original----- > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre > de bingo > Enviado el: Sábado, 14 de Abril de 2007 03:02 a.m. > Para: Cake PHP > Asunto: Re: unable to pass url as a parameter > > thanks for your suggestion. I already tried that and is not working.. > > If I encode the url then the cake shows page not found error.....if > you noticed, the first link has encoded url. > > I also tried using site=urlencode('http://cakephp.org') ... and it is > also giving "page not found" error.. > > It seems cakephp decode url before separating controller, action, and > parameter... > > Please let me know if there is any hack that I can use --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
