Hi,
I know you can use $PHP_SELF to get the name of the script currently running, and there are various other variable to get the full path to a script, but is there any way to get JUST the path. i.e.
I want it to return: "/var/www/html/website/edit/"
Instead of: "/var/www/html/website/edit/script.php"
The only ones I found returned the second option.
Thanks in advance
Harry