Re: LiveCode Server syntax to call function in CGI folder

2018-11-23 Thread Keith Clarke via use-livecode
Thanks Matthias, '’ worked a treat. I was overthinking the security aspects and attempting to call the private CGI function from ‘across the divide’ in the public_html root rather than include the CGI files. Clearly too much time spent with javascript, where included files are visible

Re: LiveCode Server syntax to call function in CGI folder

2018-11-23 Thread Matthias Rebbe via use-livecode
Do you want to call an .lc file from outside the public_html file? If so then copy the .lc file (lets say myscript.lc) to outside of the public_html, for example to /home/custom_scripts. Then in your .lc file in public_html use include "home/custom_scripts/myscript.lc to include the script