[eluser]bret[/eluser]
[quote author="Sauls" date="1272372336"]Hello,
I have same problem, I don't get post result.. and let's say
Code:
var_dump($this->input->post('submit'));
returns a
bool(false) , don't have an idea why this is happening, maybe someone knows where is the problem?
Ok I found solution to this error
I have edited my .htaccess file like this:
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
And everything is working right now
[/quote]
I am coming across a similar issue with my post values not populating upon form submission (profiling shows no values for POST). Could anyone kindly explain what these rewrites are actually doing in this .htaccess file? I don't follow which one actually corrected the problem.
Thanks in advance