Syntax for Include Statements on On-Rev

Andre Garzia andre at andregarzia.com
Fri Sep 10 18:13:43 EDT 2010


Gregory,

the include command needs a file path not a URL.

it is something like:

include "/path/to/myScript.irev"

be aware of the case sensitiveness of unix file systems.

On Fri, Sep 10, 2010 at 6:56 PM, Gregory Lypny
<gregory.lypny at videotron.ca>wrote:

> Hi everyone,
>
> Had this working before but now it blanks out most of the page that is
> loaded.  I have a script in a file called myScript.irev.  I tested it and
> know that it works. I am trying to run it by imbedding an HTML markup item
> in a text object in a web page containing the following:
>
> <?rev
> include "http://mySite.on-rev.com/myScript.irev"
> ?>
>
> Not sure what I'm doing wrong.  Any advice would be most appreciated.
>
> Regards,
>
> Gregory
>
> P.S. And the web page itself is being served from On-Rev.
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list