Re: [PHP] Getting the script path of a commandline script

2002-11-26 Thread DL Neil
Ryan, > Anyone know how to get the script path (not the current working directory, > but the actual path of the executing script) of a commandline script? > > I've dug through the docs and can't find this anywhere. None of the > typical $_SERVER variables return the script path (although several

[PHP] Getting the script path of a commandline script

2002-11-26 Thread Ryan Grove
Anyone know how to get the script path (not the current working directory, but the actual path of the executing script) of a commandline script? I've dug through the docs and can't find this anywhere. None of the typical $_SERVER variables return the script path (although several of them return th