$_POST giving empty array, see the below url
http://www.gayardor.com/test/t
If i am giving form action to same controller , its working fine for me . but when i give action to some another controller , it gives empty post array.
In the above url you can check the both cases , just remove the action value to test when the $_POST works fine.
I am using godaddy hosting.
below is the detail of htaccess file setting:
RewriteEngine on RewriteCond %{HTTP_HOST} !^www. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php?/$1 [L]
in config.php file , my settings are :
$config[‘index_page’] = ‘index.php?’; $config[‘uri_protocol’] = ‘AUTO’;
Thanks
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.