lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: [PHP] Quick question regarding getcwd() and directory location.
- Date: Sun, 24 Aug 2008 06:19:03 +0000
- From: "Ólafur Waage" <olafurw@xxxxxxxxx>
- Subject: ***BOGO*** Re: [PHP] Quick question regarding getcwd() and directory location.
I am pretty certain that this isnt possible under current code. But i
just wanted a confirmation on this, since i worked on the code for a
while trying to get to the end point. And yes Jochem, i am looking for
a magical location :P
Well, thanks guys :)
Ólafur Waage
2008/8/24 Micah Gersten <micah@xxxxxxxxxxx>:
> 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
>>
>>
>>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php