![]() |
url wierdness - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: url wierdness (/showthread.php?tid=49223) |
url wierdness - El Forum - 02-11-2012 [eluser]joeizang[/eluser] hey guys, I have a funny thing that happens to my local setup for development. I have a form with action like so: Code: <div class="entry"> and I have a function in my students controller called loginstudent. Now when I try to login I am brought back to the login form again but the url says this: Code: http://localhost:8888/schoolmanager/index.php/students/students/loginstudent so my question is has anyone encountered this before? I thought of sharing this here first as I think this is the best place to start finding answers. Thanks for all the help!!! :question: ![]() url wierdness - El Forum - 02-11-2012 [eluser]CroNiX[/eluser] if you aren't going to use the form helper for creating your form elements, you should include the full path for your form action and not use a relative path. url wierdness - El Forum - 02-11-2012 [eluser]joeizang[/eluser] thanx cronix, now I don't have to bog anyone about this. |