We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

POST Not working in codeigniter

Development and Programming

mashutoshzs's avatar
mashutoshzs
1 posts
12 years ago
mashutoshzs's avatar mashutoshzs

$_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

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.