Hi,
I have a PHP script running in a Cron job in Unix, using the "php"
command-line command executable. How do I get the path to the script,
from within the script? I've tried all the $_SERVER[] variables to no
avail.
Jamie
Getting script pathname in a script run from the command line
|