sql or ini??

Get help using Construct 2

Post » Sat Jan 11, 2014 10:13 pm

hello i have my app developped for PC/MAC, i would like to know how to ("store" - "write") a generated password to a server, anc when the app is laucnhed check if the password exist and if its correct.

thanks

B
41
S
16
G
7
Posts: 1,779
Reputation: 10,029

Post » Sun Jan 12, 2014 12:00 am

I have done it both with a MySQL database and an htaccess generated text file of users/passwords.

If you have a very small number of passwords, then a text file is ok, but if you want to have a lot of users and passwords I would go with a database...

To do it either way you use AJAX to send and receive requests and data back and forth to a php script that would do the queries to the database (or read and write to the text file).

There are several good tutorials that I followed that helped me get started...
B
99
S
35
G
20
Posts: 438
Reputation: 17,930

Post » Sun Jan 12, 2014 12:25 am

do you have any exampel or tutorial? :D
thanks
B
41
S
16
G
7
Posts: 1,779
Reputation: 10,029


Return to How do I....?

Who is online

Users browsing this forum: Tarkion, Yahoo [Bot] and 28 guests