Re: 2 questions !

From: Date: Sat, 01 Mar 2003 22:25:02 +0000
Subject: Re: 2 questions !
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137719@lists.php.net to get a copy of this message
"Vincent M." <cult@free.fr> wrote in message news:3E611D5A.4000103@free.fr... > Hello, > > I didn't find in the doc how to: > - Know the full path of the current directory. Like /var/www/to/the/path try using dirname(__FILE__) or dirname($_SERVER['PATH_TRANSLATED']) > - Know under which user work apache, to know when I create a file whose > file it is... in unix, a safe installation will run apache as nobody. Greg -- phpDocumentor http://www.phpdoc.org

« previous php.general (#137719) next »