Make a dynamic uri segment |
How can i make my application URL like this "mysite/username/home" where the username is dynamically changed according to the user that register in my site, and also each user has their own home...
-thanks for answer-
Hi,
you can do it if you change the URL like this : http://mysite/home/username PHP Code: /* CONTROLLER HOME.PHP */
SEE: Also _remap method
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |