On Tue, 2003-03-04 at 09:26, Adam Voigt wrote:
Anyone know how you would get the directory a user is in when
they call a command line PHP script (assuming it's on the path)?
Like if I execute "prog1" and I'm in /usr, and "prog1" is in /usr/local/bin,
getcwd() will return /usr/local/bin instead of /usr, I need to reverse
this behavior.
Anyone?
Thanks.
-- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
-- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc |
signature.asc
Description: This is a digitally signed message part