on 02/03/03 7:51 AM, Vincent M. ([EMAIL PROTECTED]) wrote:

> Hello,
> 
> I didn't find in the doc how to:
> - Know the full path of the current directory. Like /var/www/to/the/path

http://www.php.net/manual/en/reserved.variables.php#reserved.variables.serve
r


> - Know under which user work apache, to know when I create a file whose
> file it is...

the file is always owned by whatever user apache is... so really you'd have
to try a chown or chmod on the file, to see if you can correct it... really,
you don't need to KNOW who it's owned by, you need to SET IT to your
preference of owner and/or permissions.

I'm sure there's a way to check the owner of a file, but not (from what i
know) a way to check who apache is running as.


Justin


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

Reply via email to