On Thu 15 Jan 2009, Foo JH wrote:
> Is there a generic method so that given any uri as a parameter, the
> library can do the math and return the physical path?
If you look for the filename for $r->uri, that means the uri of the
current request then $r->filename holds that after the map-to-storage
Adam Prime wrote:
> Foo JH wrote:
>> Adam Prime wrote:
I'm trying to find the class/ method which allows me to get the physical
path base on the uri. Something similar to Server.MapPath('/index.htm')
in ASP.NET.
Any advise is appreciated. Thanks.
>>> $r->document_root . $r-
Foo JH wrote:
> Adam Prime wrote:
>>> I'm trying to find the class/ method which allows me to get the physical
>>> path base on the uri. Something similar to Server.MapPath('/index.htm')
>>> in ASP.NET.
>>>
>>> Any advise is appreciated. Thanks.
>> $r->document_root . $r->uri
> Thanks for replying.
Adam Prime wrote:
>> I'm trying to find the class/ method which allows me to get the physical
>> path base on the uri. Something similar to Server.MapPath('/index.htm')
>> in ASP.NET.
>>
>> Any advise is appreciated. Thanks.
>
> $r->document_root . $r->uri
Thanks for replying. In my case it's a we
Foo JH wrote:
> Hi all,
>
> I'm trying to find the class/ method which allows me to get the physical
> path base on the uri. Something similar to Server.MapPath('/index.htm')
> in ASP.NET.
>
> Any advise is appreciated. Thanks.
$r->document_root . $r->uri
but that won't actually tell you if tha