Welcome Guest, Not a member yet? Register   Sign In
How to get current controller and method?
#1

[eluser]anna16[/eluser]
Hi

I want to catch the current controller and method.

Let say i have this url below,
http://www.mysite.com/ci/index.php/site/meter/

now what i want is to get these last two partial url --> /site/meter/
How to do this?

Thanks in advanced.


Messages In This Thread
How to get current controller and method? - by El Forum - 10-02-2010, 05:53 AM
How to get current controller and method? - by El Forum - 10-02-2010, 05:59 AM
How to get current controller and method? - by El Forum - 10-02-2010, 06:04 AM
How to get current controller and method? - by El Forum - 10-02-2010, 06:41 AM
How to get current controller and method? - by El Forum - 10-02-2010, 06:43 AM
How to get current controller and method? - by El Forum - 10-02-2010, 07:25 AM
How to get current controller and method? - by El Forum - 10-02-2010, 07:36 AM
How to get current controller and method? - by El Forum - 10-02-2010, 07:45 AM
How to get current controller and method? - by El Forum - 10-02-2010, 07:50 AM
How to get current controller and method? - by El Forum - 10-02-2010, 07:51 AM
How to get current controller and method? - by El Forum - 10-02-2010, 09:11 AM
How to get current controller and method? - by El Forum - 10-02-2010, 09:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB