I found the __FILE__ now, but this is not exactly what I want:
I would like to have one script generating links to itself,
only with different variables sent via GET like this:
http://www.mydomain.tld/myscript.php?request=showcontent
But __FILE__ gives me a file://-path... Do you have a smart
i
I need to access the name of a file included.
ie: in index.php I've included various files, among them navigation.inc.
Instead of manually typing at the top of everyfile,
I'd like to use something like:
===
Ron Dyck
WebbTech
www.WebbTech.net
[EMAIL P
Here goes an easy one... I need a script that returns me the name of the
page it is in. I mean, if this script is in a page called "test3.php", then
it should return "test3.php", and if it is on a page called "heynow.php" it
should return, you guessed it, "heynow.php".
Thanks!
--
PHP General
3 matches
Mail list logo