Welcome Guest, Not a member yet? Register   Sign In
Is there is easy way to get the name of index.php
#1

[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?
#2

[eluser]Clooner[/eluser]
Google is your friend: http://tinyurl.com/25llhw8
#3

[eluser]Unknown[/eluser]
Code:
<?php echo $this->config->item('index_page'); ?
#4

[eluser]WanWizard[/eluser]
The config might not be correct. It's better to use the constant SELF.
#5

[eluser]clip[/eluser]
[quote author="clooner" date="1281094187"]Google is your friend: http://tinyurl.com/25llhw8[/quote]

Good stuff Wink




Theme © iAndrew 2016 - Forum software by © MyBB