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
37
S
15
G
7
Posts: 1,679
Reputation: 9,610

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
95
S
33
G
20
Posts: 438
Reputation: 17,640

Post » Sun Jan 12, 2014 12:25 am

do you have any exampel or tutorial? :D
thanks
B
37
S
15
G
7
Posts: 1,679
Reputation: 9,610


Return to How do I....?

Who is online

Users browsing this forum: marcinkowski, R0J0hound, Yahoo [Bot], zenox98 and 12 guests