Page 2 of 2

Re: [New Book] LiveCode Advanced Application Architecture

Posted: Tue Nov 20, 2018 4:29 pm
by gagsoft
Hi Andre
You are very helpful. It is just what I was looking for.

Many thanks👍

Peter G

Re: [New Book] LiveCode Advanced Application Architecture

Posted: Wed Nov 21, 2018 2:56 pm
by gagsoft
Hi Andre

I am missing something here, Was wondering if you can put me on the right track with this.
Edited the dblibserver.php as follows:
PhP configuration of the dblibserver.php file
// Override the data below with your defaults
$encryption_key = "FFFFFFFFFFFFDDCCFFFFFFFFFFFFDDCC"; // Same as LiveCode side
$user = “my_username”; // customize user, password, db...
$password = “the_password";
$db = “sbs”; // The name of my database
$server = "localhost";
$cipher = "AES-256-CTR"; // do not change cipher unless you know what you're doing
And copied it to the Server: Copied the dblibserver.php to into a folder /htdocs/sbsdblib/dblibserver.php on PhP server XAMPP
installation.
Altered the LiveCode as follows:
My LC Code snipped
// put "https://andregarzia.com/auxiliary/dblibserver.php" into tConfigA["url"] // URL
put "http://xx.xxx.xxx.xxx/sbsdblib/dblibserver.php" into tConfigA["url"] // URL
put "FFFFFFFFFFFFDDCCFFFFFFFFFFFFDDCC" into tConfigA["encryption_key"] // Encryption Key
dbSetDefaultConnectionConfiguration tConfigA
I get this when running the script:
button "Button": execution error at line 5 (Handler: can't find handler) near "dbSetDefaultConnectionConfiguration", char 1

I do not know if using an ip address would be a problem. I normally test my php projects on this remote self managed server using the IP adddres.

Thanks

Peter G

Re: [New Book] LiveCode Advanced Application Architecture

Posted: Thu Nov 29, 2018 1:47 pm
by gagsoft
Hi Andre
I'll try to create a video that goes from zero have it running on a shared server. LiveCode own Hosting should work great for this.
I am patiently waiting for that video that will propel me from zero to hero. :D
You are probably very busy right now.

Thanks
Peter G

Re: [New Book] LiveCode Advanced Application Architecture

Posted: Wed Dec 30, 2020 1:14 am
by SoapDog
Image

I've reduced the price of my LiveCode eBook to £9.99. This book will teach you advanced techniques, and contains a ton tips and tricks from a seasoned LC developer.

Get it from: https://andregarzia.com/books/livecode- ... cture.html