On-Rev file path

Mike Bonner bonnmike at gmail.com
Tue Mar 22 23:15:40 EDT 2011

You shouldn't be able to call it directly if its outside of your public_html
folder. I think you can 'include' a php file that is outside the boundaries
from another php page, and if I recall correctly there are ways to force php
pages to load from within an irev, but I can't remember whats required for

As for finding the file structure, using an irev script, something as simple
as a one liner like <?rev put the defaultfolder ?> will tell you your
current path which should be something like:


On Tue, Mar 22, 2011 at 8:57 PM, -=>JB <=- <sundown at pacifier.com> wrote:

> I would like to know how to get the path of a file that is
> located above the public_html which I think is called
> above webroot.
> Let's say I have a file named Hello_World.php and
> it is above the public_html.  What is it's path and can
> I run the file by pointing my browser to it's path like I
> can when it is in my domain folder.
> -=>JB<=-
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the Use-livecode mailing list