[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 the filename, hooray for redundancy). The docs say several
times that getcwd() will NOT return the path of the executing script, but
they don't mention how to get it.

Help.

-- 
Ryan Grove
[EMAIL PROTECTED]
http://wonko.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Anyone good with Java??

2001-03-17 Thread Ryan Grove

[Chris]
 I know php can't do this but I hoped somehere would know how. I have a page with 
many select boxes(drop downs). I want it so that if someone selects a value, it is 
removed from all the others. And
 if they change it, the old value is returned to the other boxes. Any help would be 
appreciated




-- 
Ryan Grove
[EMAIL PROTECTED]
http://wonko.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]