uri routing question |
[eluser]megabyte[/eluser]
I would like to find a way to have 1 controller named "friends". then be able to do this: www.mydomain.com/bob www.mydomain.com/mark www.mydomain.com/phil www.mydomain.com/tim But people will be signing up so I can't just do this by hard coding it in the routes.php file. The only other solution I could think of is to have a script that creates another controller each time a new person is added and it extends the base class. Is there some way I could use a hook to access the datatbase before the routes file is accessed and then have it read a dynamic list of routes or something like that? I just don't want to use: www.mydomain.com/friends/tim as it defeats the whole design of what I am trying to create. |
Messages In This Thread |
uri routing question - by El Forum - 08-12-2007, 11:36 AM
uri routing question - by El Forum - 08-12-2007, 12:45 PM
uri routing question - by El Forum - 08-12-2007, 03:42 PM
uri routing question - by El Forum - 08-12-2007, 03:53 PM
uri routing question - by El Forum - 10-23-2007, 01:38 PM
|