Re: 2 questions !

From: Date: Sun, 02 Mar 2003 23:54:55 +0000
Subject: Re: 2 questions !
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137814@lists.php.net to get a copy of this message
on 02/03/03 7:51 AM, Vincent M. (cult@free.fr) 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

« previous php.general (#137814) next »