You can always use

$myUri = $this->params['url']['url];
$arguments = explode('_', $myUri[1]);

On 30 Set, 10:27, TGG008 <[EMAIL PROTECTED]> wrote:
> Thanks~
>
> It seems that CakePHP is not so flexible.
>
> If I want to build URL like:        /google_ID_PAGE.html
>
> when the 'ID' is the primary key.
> and 'PAGE' is the  pageid/many pages
>
> So is there anyone know how?
>
> thanks in advance!
>
> On Sep 30, 10:31 am, JadB <[EMAIL PROTECTED]> wrote:
>
> > Overwrite the 'router.php' file found in /cake/libs with a copy of it
> > in your /app/ folder and then change the following:
>
> > /**
> >  * Separator used to join/split/detect named arguments
> >  *
> >  * @var string
> >  * @access private
> >  */
> >         var $__argSeparator = ':';
>
> > Just replace it with whatever separator you wish to use. That's the
> > way I'd do it I presume.
>
> > Jadhttp://myeasyscripts.com/loudbaking


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to