Welcome Guest, Not a member yet? Register   Sign In
Help with virtual directories
#1

[eluser]cmgmyr[/eluser]
Hello all,
Hopefully this will be a quick answer but I couldn't find it anywhere. I would like to do something like this:

domain.com/{username} (controller 1)
domain.com/{username}/controller2
domain.com/{username}/controller3

Example:
domain.com/cmgmyr (profile page)
domain.com/cmgmyr/friends
domain.com/cmgmyr/friends/add
domain.com/cmgmyr/music
domain.com/cmgmyr/music/vote

How do I set it up so that I can pass the user name to a function, get the userid, then pass that to the other controllers/functions?

Thanks in advance.
-Chris


Messages In This Thread
Help with virtual directories - by El Forum - 08-21-2008, 12:09 PM
Help with virtual directories - by El Forum - 08-21-2008, 03:07 PM
Help with virtual directories - by El Forum - 08-21-2008, 07:18 PM
Help with virtual directories - by El Forum - 08-21-2008, 07:25 PM
Help with virtual directories - by El Forum - 08-21-2008, 07:28 PM
Help with virtual directories - by El Forum - 08-23-2008, 11:59 AM
Help with virtual directories - by El Forum - 08-23-2008, 04:20 PM
Help with virtual directories - by El Forum - 08-24-2008, 01:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB