[SOLVED]breaking up text
Posted: Sat Jun 11, 2005 12:58 pm
hi all
i want to get the name of the file that i'm currently working with. i have an idea to get $_SERVER['PHP_SELF'] and then break up the text string to do that. If i get the string /kompetencesystem/default.php i need to get the default.php part from it.
Now my question is:
Is this the simplest way to do it? and if it is how is this achieved?
any hints will be useful thx
regards
thallish
i want to get the name of the file that i'm currently working with. i have an idea to get $_SERVER['PHP_SELF'] and then break up the text string to do that. If i get the string /kompetencesystem/default.php i need to get the default.php part from it.
Now my question is:
Is this the simplest way to do it? and if it is how is this achieved?
any hints will be useful thx
regards
thallish