I am wondering how to include a PHP file in a Lianja webview. I would normally type the line include "myfile.php";. Where do I store such a file and how do I access it within Lianja?
I am wondering how to include a PHP file in a Lianja webview. I would normally type the line include "myfile.php";. Where do I store such a file and how do I access it within Lianja?
Thank you very much!
Lianja includes PHP, Python and JavaScript as part of the distribution as these are embedded in the App Builder.
PHP is located in:
C:\lianja\scriptinglanguages\php
The PHP configuration file is located in:
C:\lianja\scriptinglanguages\php\conf\php.ini
You can also set the include_path in php.ini. It is currently commented out and defaults to the current app directory. You can therefore reference php libraries relative to the app like this:
include("..\libraries\myphplib.php")
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Bookmarks