username for controller - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: username for controller (/showthread.php?tid=33467) |
username for controller - El Forum - 08-26-2010 [eluser]new_igniter[/eluser] Hello, I would like to do something like mydomain.com/username I have not had success trying various things. Do you know if this is possible? username for controller - El Forum - 08-26-2010 [eluser]sstalder[/eluser] If that controller exists I don't see why it wouldn't work? Can you provide some detail around your coding? username for controller - El Forum - 08-26-2010 [eluser]CI_avatar[/eluser] sstalder is right. create controller/username.php or just try to modify the default welcome.php controller and rename it to username.php and change the class controller to class Username then try. i hope it will work |