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 that file exists, it's just where you'd probably expect that file to reside. Not having any idea how that ASP.NET function works, i don't know if that really answers your question or not. Adam