how to run CodeIgniter controller in cli while passing value with $_GET

868 views Asked by At

How do i run a CodeIgniter controller in CLI (CentOS 6) while passing values through $_GET and/or $this->input->get();

I tried doing this:

php index.php <controller_name> [<method_name>] [<parameter_1> <parameter_2> ...]

and it works, but I need to pass $_GET values on the controller's method.

0

There are 0 answers