Code Igniter: Cannot get POST values

Administration, Code Igniter, Info.Tech, PHP, Web Development Comments Off on Code Igniter: Cannot get POST values

I encountered this issue in Code Igniter that I cannot get the POST values. Some says its the .htaccess issue. I used same .htaccess with all my application and works fine. I was working on my new environment, Kali Linux, and realised that its the mod_rewrite module wasn’t loaded and partly affects the .htaccess.

# cd /etc/apache2/mods-enabled/
# locate mod_rewrite
/usr/lib/apache2/modules/mod_rewrite.so
# touch rewrite.load
# nano rewrite.load

At the file:

LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so

Save the changes and restart apache.

Hope this will help you… Pee coding!

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in