Re: Quick question regarding getcwd() and directory location.

From: Date: Sun, 24 Aug 2008 01:53:57 +0000
Subject: Re: Quick question regarding getcwd() and directory location.
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-278578@lists.php.net to get a copy of this message
What is the point of figuring that out? If we knew that, we might be able to help you with a solution. As it stands what you want is not possible AFAIK. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Ólafur Waage wrote: > I am within a certain directory of the server via the browser. > > Example: > > http://www.example.com/foo/bar > would be > /var/www/example.com/foo/bar > > And Apache's DirectoryIndex feature is opening a index.php file that > is located at > /var/www/example.com/test/index.php > > And from that file i need to figure out the full local path of > /foo/bar (which would be /var/www/example.com/foo/bar ) or any other > directory i browse too. > > Ólafur Waage > > >

« previous php.general (#278578) next »