Is there is easy way to get the name of index.php |
[eluser]datactrl[/eluser]
I used the following to access same application but different database www.website.com/a.php/my_class/my_method/p1/p2, www.website.com/b.php/my_class/my_method/p1/p2, My question is how I get the name of a.php or b.php. Is there a easy way to get that name?
[eluser]Unknown[/eluser]
Code: <?php echo $this->config->item('index_page'); ?
[eluser]WanWizard[/eluser]
The config might not be correct. It's better to use the constant SELF.
[eluser]clip[/eluser]
[quote author="clooner" date="1281094187"]Google is your friend: http://tinyurl.com/25llhw8[/quote] Good stuff ![]() |
Welcome Guest, Not a member yet? Register Sign In |