View Single Post
Old Nov 8th, 2005, 6:05 PM   #10
Kaja Fumei
Hobbyist Programmer
 
Join Date: Oct 2005
Posts: 134
Rep Power: 3 Kaja Fumei is on a distinguished road
$ENV{'SCRIPT_NAME'} contains the name of the current running script as well as the full path. You could extract the path from that.
Kaja Fumei is offline   Reply With Quote