![]() |
Can'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: Can't POST (/showthread.php?tid=3130) |
Can't POST - El Forum - 09-12-2007 [eluser]ouzodestructo[/eluser] I have developed a site and have put it on my web server but my forms don't post any data. Have a look at http://www.geneethics.org/contact. I have put in a print_r($_POST) in my controller to show whats passing (nothing!) It works on my dev box, so why not here? I have brought it up with my web hosts but they say its not them. Any ideas whats going on here? Can't POST - El Forum - 09-12-2007 [eluser]Crimp[/eluser] Enable the profiler in your controller to see what is being passed: Code: $this->output->enable_profiler(TRUE); Can't POST - El Forum - 09-12-2007 [eluser]coolfactor[/eluser] Your site is doing a redirect. I suspect an .htaccess configuration error. Form submits to: http://geneethics.org/contact/display Redirects to: http://www.geneethics.org/index.php/contact/display Form data is lost during the redirect. Can't POST - El Forum - 09-12-2007 [eluser]ouzodestructo[/eluser] Thanks Crimp. I've done that but its not displaying anything. I've updated the page geneethics.org/contact Could it be the .htaccess file? This works fine on my dev box so could it have to do with server settings? Can't POST - El Forum - 09-12-2007 [eluser]ouzodestructo[/eluser] Thanks, that sounds about right. I'm not too good with that tho so i'd appreciate some feedback. Here's my .htaccess file: Code: <Files .htaccess> |