Keeping On-Rev Scripts and Data From Prying Eyes

Richard Gaskin ambassador at fourthworld.com
Wed Aug 4 20:15:39 CDT 2010


Michael Kann wrote:

> I didn't see what switched?

The indenting may not look clear if you're not viewing this with a 
monospaced font, but the scriptname.irev is outside of the public_html 
folder in the second example.


> So if your directory structure looks like this:
>
> root/
>    public_html/
>       mypage.irev
>       scriptname.irev
>
> ...you could switch it to:
>
> root/
>    public_html/
>       mypage.irev
>    scriptname.irev
>
> ...and in your mypage.irev you'd change the reference to scriptname.irev to:
>
> <?rev include ../scriptname.irev ?>


--
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv



More information about the use-livecode mailing list