Tuesday, February 8, 2011

Subfolders in CodeIgniter

Hi all,

I'm new to CodeIgniter and I need some help. I'd like to implement the following:

View a user's profile via: http://localhost/profile/johndoe

...but administrate a user's profile via: http://localhost/admin/profile/johndoe

and then be able to accomplish even further processing via: http://localhost/admin/profile/create ...and... http://localhost/admin/profile/edit/johndoe

I've already created the admin object and secured it. Do I have to create a profile function under admin and work with the URI to process accordingly? or is there a better way?

0 comments:

Post a Comment