I got the LC Indy web server installed and it can connect to the DB and return JSON.
But as soon as I reference a password protected script file, it gave me an error. <?lc // Database include "model.lc" include "xps_sync.livecode" --I even tried "start using", but did not help --was getting: row 6, col 1: Chunk: can't find stack --start using stack "xps_sync" put DoesItWork() -- Simple function that returns "It Works" ?> This is the error I am getting: REVO7000 file "/var/www/html/model.lc" file "/var/www/html/xps_sync_delete.lc" file "/var/www/html/xps_sync.livecode" row 7, col 6: Function: error in function handler (DoesItWork) row 7, col 6: put: error in expression Here is the simple password protected function: function DoesItWork return "It Works" end DoesItWork On Sat, Nov 17, 2018 at 9:26 PM Todd Fabacher <tfabac...@gmail.com> wrote: > SUPER..I FOUND IT AND THE ANSWER IS YES!!! > > This changes my entire concept of using LiveCode online. I can do full > debugging in my app and just take the functionality I want and move it > online. > > FANTASTIC!! > > On Sat, Nov 17, 2018 at 9:21 PM Todd Fabacher <tfabac...@gmail.com> wrote: > >> Quick question...we have some specific info in LC we need to put in a >> LiveCode web script to be run online. But we need to protect the content. >> Can we put that in a password protected script, drop it online and add it >> in as an "Include"?? >> >> Thanks, this would be SUPER helpful, >> >> Todd >> >> >> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode