Save User Data in Mysql database
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Save User Data in Mysql database

Started by DJ TWEETY, 11 January, 2010, 21:03:45

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DJ TWEETY

Hello dear user, it is possible to save Ptokax the user and retrieve data via MySQL.

I've heard that there is to be clever scripts, but I find nothing in the direction

If so what I need to it?


Excuse my English it is translated by a translator

??? ??? ???

sphinx_spb

Quote from: DJ TWEETY on 11 January, 2010, 21:03:45
Hello dear user, it is possible to save Ptokax the user and retrieve data via MySQL.

I've heard that there is to be clever scripts, but I find nothing in the direction

If so what I need to it?


Excuse my English it is translated by a translator

??? ??? ???
Hello dear author DJ TWEETY,
save and retrieve userdata via MySQL is not possible for now and
string.gsub("Only god knows if it will in future","god","PPK")

DJ TWEETY

is there any software that supports it began and runs under windows

PPK

Quote from: sphinx_spb on 12 January, 2010, 15:58:49
save and retrieve userdata via MySQL is not possible for now and
string.gsub("Only god knows if it will in future","god","PPK")

Depends on what he mean by user data. My opinion is that mysql is waste of resources for registered users, banlist etc. If he want this then sorry but that is not in my todo.
If he want something else then it should be possible by script, if someone compile mysql support for lua :P
Quote from: DJ TWEETY on 12 January, 2010, 16:15:53
is there any software that supports it began and runs under windows
Afaik YnHub and (win)verlihub supporting mysql  ::)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

DJ TWEETY

Winverlihub I once tried to bring a test basis to run to the database connection also comes to pass but not

And for Yhub So hmm, he even works great together so it saves my opinion, the data is not in the database so as far as the registrations

Thor

I don't think it's necessary in hub-side, but if you want, it can do that for you (even it's lite).

DJ TWEETY

if you were so nice otherwise I would be a very helpful manual

Thor

You can find a manual here: http://luasqlite.luaforge.net/lsqlite3.html
Then open the RegisteredUsers.xml file, and put the nick-pass-profile there (and the things you want to store, eg. last login). Note, even the accounts stored there, PtokaX will still use the XML file.

DJ TWEETY


SMF spam blocked by CleanTalk