![]() |
Form Won't Post - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Form Won't Post (/showthread.php?tid=56325) |
Form Won't Post - El Forum - 12-10-2012 [eluser]Tommy Ready[/eluser] Hello, I have successfully install CI many times in the past and I thought I got this one, but I noticed that when I'm trying to post to a form $_POST and $this->input->post are blank/NULL. Any ideas on what MIGHT cause that? Any help would be great. Thanks. Form Won't Post - El Forum - 12-11-2012 [eluser]Tommy Ready[/eluser] Well, I figured out it has something to do with mod_rewrite, just not sure as to what. Here is my .htaccess file. Code: <IfModule mod_rewrite.c> Form Won't Post - El Forum - 12-11-2012 [eluser]Aken[/eluser] The actual index.php rewrite is kind of weird. Try something more standard: Code: RewriteRule ^(.*)$ index.php/$1 [L] Also, if you're using CI 2.1.x, you don't need the first two rule sets relating to the system and application folders. |