Hi Andre
You are very helpful. It is just what I was looking for.
Many thanks
Peter G
[New Book] LiveCode Advanced Application Architecture
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: [New Book] LiveCode Advanced Application Architecture
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:
installation.
Altered the LiveCode as follows:
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
I am missing something here, Was wondering if you can put me on the right track with this.
Edited the dblibserver.php as follows:
And copied it to the Server: Copied the dblibserver.php to into a folder /htdocs/sbsdblib/dblibserver.php on PhP server XAMPPPhP 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
installation.
Altered the LiveCode as follows:
I get this when running the script: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
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
Hi Andre
You are probably very busy right now.
Thanks
Peter G
I am patiently waiting for that video that will propel me from zero to hero.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.
You are probably very busy right now.
Thanks
Peter G
Re: [New Book] LiveCode Advanced Application Architecture
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
http://www.andregarzia.com