Hello,
I am currently running PHP 4.3.2 on Windows NT 4.0.
Is there anyway (I am sure there is but I just can't find it) that you
can determine the path of the current script that is running?
I have created a command line script that processes some files and I
would like to be able to drop the script in a given directory and then
run it from there.
In this manner the "active directory" will change depending upon where
I call the script from. Rather than having to change the script each
time, or having to hard-code a directory in-place, I would rather keep
it dynamic if possible.
Thanks,
Hugh