![]() |
Form helper post to index.php - 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: Form helper post to index.php (/showthread.php?tid=31494) |
Form helper post to index.php - El Forum - 06-21-2010 [eluser]Christophe28[/eluser] Hello, I'm a new user of codeigniter. I escaped index.php in nginx and it works perfectly (I guess) When I surf to mysite.com/controller the proper controller is loaded. But now I'm want to use a login form. When I press the submit button, I got redirected to mysite/index.php/login/validate_credentials instead of mysite/login/validate_credentials And obvious that didn't work, otherwise I wouldn't be here. What am I doing wrong? I'm sure it is a small thing :-) THX! Form helper post to index.php - El Forum - 06-21-2010 [eluser]danmontgomery[/eluser] You have to also remove index.php from config/config.php. Code: /* Form helper post to index.php - El Forum - 06-21-2010 [eluser]Christophe28[/eluser] And it works! Thx mate! ![]() |