Get parameters in Code Igniter

If you want to use GET parameters in Code igniter just for specific controller do use the following line in your Controller’s constructor:


Also make sure to call your script like this (even if you use mod_rewrite to get rid of index.php):


comments powered by Disqus