On-Rev file path
-=>JB<=-
sundown at pacifier.com
Wed Mar 23 00:17:28 EDT 2011
Thanks for the info.
So if my account name is jayb and I wanted to access
the file by pointing my browser to it while it is located
in the publc_html folder but not in my domain folder
I would use the path
/home/jayb/public_html/Hello_World.php
and then the file should run? I do not need to use
on-rev.com in the path at all? How does it know home
is connected to on-rev.com?
-=>JB<=-
On Mar 22, 2011, at 8:15 PM, Mike Bonner wrote:
> 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
> that.
>
> 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:
>
> /home/youraccountname/public_html
>
> 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
>>
> _______________________________________________
> 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