User data safety
#1

How safe is it to save user data in a file like this:YSI
PHP код:
formatpFile sizeof(pFile), "users/%s.ini"playerid); 
And what should i do to make it safer
Reply
#2

This would be the worst ever way to store player info that I can think of.

Why ?
Well come on think about it, players Leave & join

Which then means that a if player that leaves and his I'd is for example 7 and a new player joins his I'd wil be 7 also, what does that tell u ?
Reply
#3

Im kind of new so, it tells me that theres a new player with the ID of 7
and his data should be updated right ??
Reply
#4

I suggest using MySQL, and for a password, use the whirlpool encryption.
Reply
#5

Quote:
Originally Posted by ******
Посмотреть сообщение
If you want to use YSI to save player data, I would suggest y_users as it's all already set up.
i was having a hard time saving the users data in SQLlight so i though that YSI might be a littler better.
because SQL saved a file called users.db and YSI saves a file so "BLA".
Is is better to make a users.db ??
Reply
#6

Quote:
Originally Posted by Dotayuri
Посмотреть сообщение
i was having a hard time saving the users data in SQLlight so i though that YSI might be a littler better.
because SQL saved a file called users.db and YSI saves a file so "BLA".
Is is better to make a users.db ??
I think it is.
Use this, it's better and easy to use.
Reply
#7

Quote:
Originally Posted by Rockk
Посмотреть сообщение
I think it is.
Use this, it's better and easy to use.
I was using this: db_query
PHP код:
#include    <rBits> 
That was my first pick, would that not be as good ??
Reply
#8

bump~
Reply
#9

****** offered a fantastic solution to your problem. You don't have to handle any BS for saving things, the library handles it all for you.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)