Retrieve controller namd and function name from url |
[eluser]C.T.[/eluser]
I think URI helper will do what u want to have http://cisite.com/controller1/ Code: $this->uri->segment(1) http://cisite.com/controller1/dosomething Code: $this->uri->segment(1) Code: $this->uri->segment(2) http://cisite.com/controller1/dosomething/action/ Code: $this->uri->segment(1) Code: $this->uri->segment(2) Code: $this->uri->segment(3) |
Welcome Guest, Not a member yet? Register Sign In |