Put

Router::connect('/:username/:controller/:action');

in your app/config/routes.php  Then in your controller you can look at
$this->params['username']



On Jul 18, 11:59 am, DanielMedia <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have a project where I have to provide a user with their own
> customized url. For example:
>
> http://www.example.com/john-smith/http://www.example.com/john-smith/gallery/http://www.example.com/john-smith/videos/
> etc...
>
> Has anyone done anything like this before? I'm having trouble figuring
> out how to accomplish this while keeping the url requirement and
> displaying the right page through the passed parameters. I'd
> appreciate any insight if anyone has any ideas.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to