Search found 308 matches

by ghettocottage
Wed Feb 21, 2018 4:16 am
Forum: Databases
Topic: Ways to set and use tables relationship with online DB
Replies: 3
Views: 986

Re: Ways to set and use tables relationship with online DB

As for the rest, scripts that relates one table to the other its all made manualy or is that a feature of the bench too ? MySQL Workbench is simply a GUI tool for working with MySQL databases and the features that are built in to MySQL. Although you can just create your own relationships through yo...
by ghettocottage
Tue Feb 20, 2018 10:22 pm
Forum: Databases
Topic: Ways to set and use tables relationship with online DB
Replies: 3
Views: 986

Re: Ways to set and use tables relationship with online DB

Personally I like to use MySQL Workbench. It has a nice graph tool that lets you drag our your relationships, manage foreign keys, etc.

Once you are done you can connect to your server via SSH or direct DB connection and apply your model to your database.

Image
by ghettocottage
Thu Feb 15, 2018 8:22 pm
Forum: Databases
Topic: Anyone has examples of UUID Sha1 creation process ?
Replies: 4
Views: 834

Re: Anyone has examples of UUID Sha1 creation process ?

sha1...I think...

what is your goal? Are you just trying to come up with an encrypted identifier? Are you using this to send?
by ghettocottage
Wed Feb 14, 2018 7:48 pm
Forum: Databases
Topic: Anyone has examples of UUID Sha1 creation process ?
Replies: 4
Views: 834

Re: Anyone has examples of UUID Sha1 creation process ?

Other more knowledgeable Livecoders will have to speak up to confirm this, but if you are looking for something where you can create the same results on demand given some input, then UUID might be counter-intuitive to that, since it creates a unique ID each time. You could just write your own little...
by ghettocottage
Fri Feb 09, 2018 5:19 am
Forum: Internet
Topic: Distribute PHP EchoS towards separate fields - How ?
Replies: 5
Views: 938

Re: Distribute PHP EchoS towards separate fields - How ?

You could do it either way. If you want it on separate lines you could do something like: <?php echo $date1.","; echo $date2; ?> then with LC just do the same thing as my other reply. Adding the comma will give LC something to use as a delimiter. There is probably another way, as usual with coding, ...
by ghettocottage
Thu Feb 08, 2018 11:48 pm
Forum: Internet
Topic: Distribute PHP EchoS towards separate fields - How ?
Replies: 5
Views: 938

Re: Distribute PHP EchoS towards separate fields - How ?

your could simplify your php to just this <?php echo $date1.",".$date2; ?> and then in your LC App do something like: put it into toParse repeat with i = 1 to the number of lines of toParse put item 1 of toParse into field "start date" put item 2 of toParse into field "end date" end repeat
by ghettocottage
Thu Feb 01, 2018 9:13 pm
Forum: Internet
Topic: SOLVED - Any tool to capture URL content sent ?
Replies: 18
Views: 2152

Re: Any tool to capture URL content sent ?

at the site, create a "Request Bin"

that gives you a unique url to use

replace your url of your server for that in your LC app

send

go to that link and refresh page...you can do it a bunch of times. It stores your requests for 24 hours
by ghettocottage
Thu Feb 01, 2018 7:14 pm
Forum: Internet
Topic: SOLVED - Any tool to capture URL content sent ?
Replies: 18
Views: 2152

Re: Any tool to capture URL content sent ?

Looks like their website is down..I was just using it last night and it helped me debug some header data that was being sent from a remote device.

their Twitter account confirms issue...should be back up shortly.
by ghettocottage
Thu Feb 01, 2018 6:48 pm
Forum: Internet
Topic: SOLVED - Any tool to capture URL content sent ?
Replies: 18
Views: 2152

Re: Any tool to capture URL content sent ?

Not necessarily LC function, but this might be something that helps:

https://requestb.in
by ghettocottage
Sun Jan 28, 2018 3:56 pm
Forum: Databases
Topic: LC Encrypting with Aes-256-cbc supported ?
Replies: 5
Views: 1077

Re: LC Encrypting with Aes-256-cbc supported ?

For my usage, I would decrypt and everything on the server before putting it into the database, so I am not sure but I do not see why not. on the server, with Livecode Server: //decode aes encoded data function aesDecode tString put base64Decode(tString) into tString decrypt tString using "aes256" w...
by ghettocottage
Sun Jan 28, 2018 4:09 am
Forum: Databases
Topic: LC Encrypting with Aes-256-cbc supported ?
Replies: 5
Views: 1077

Re: LC Encrypting with Aes-256-cbc supported ?

I had something like this that worked for me. I would first create a gPW and gSalt through some other functions that would create randomized strings, then: #encode with aes function aesEncode tString encrypt tString using "aes256" with gPW and salt gSalt put it into tString put base64Encode(tString)...
by ghettocottage
Wed Jan 24, 2018 5:48 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Passwort encryption on Mysql server
Replies: 12
Views: 1131

Re: Passwort encryption on Mysql server

Are you accessing the MySQL database directly, or going through a middleware such as Livecode Server or PHP? Someone just posted a nice looking middleware example for MySQL based on Livecode Server that includes authentication: http://forums.livecode.com/viewtopic.php?t=27521&p=163035#p163035 I have...
by ghettocottage
Mon Jan 22, 2018 9:14 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Coding an Update Functionality for an LC App ?
Replies: 22
Views: 2356

Re: Coding an Update Functionality for an LC App ?

Actualy, this launching mechanism is pretty interesting since one could use it to deliver/build a single launching script pointing to different type of users to dif types of DBs and even APPS based on some "lauching input criteria" Yes, on my last project I was using the index page as a sort of tra...
by ghettocottage
Mon Jan 22, 2018 3:55 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Coding an Update Functionality for an LC App ?
Replies: 22
Views: 2356

Re: Coding an Update Functionality for an LC App ?

So, what are the Pros/cons for the security side of the Data Transfered between devices and server ? Is encryption enuf to protect your data privacy ..or is VPN required too ..? Is there data other than the stack being transferred between devices and server? I mean are you accessing a database or s...
by ghettocottage
Mon Jan 22, 2018 3:21 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Coding an Update Functionality for an LC App ?
Replies: 22
Views: 2356

Re: Coding an Update Functionality for an LC App ?

If a network interruption occurs you CANT keep up working offline.. The stack is stored in memory while working, so it would continue working if the network was lost, unless you were accessing a remote database, in which case it would not work, but neither would an application that launched locally...

Go to advanced search