Dini question
#1

Hello guys, I'm using dini saving system.
How can i check if inside the file has a "password" line?
Reply
#2

PHP код:
if(dini_IsSet(YOURPATH"password")) 
Reply
#3

error: undefined symbol "dini_IsSet"
Reply
#4

Wrong.
PHP код:

new pw[200];
format(pwsizeof(pw), "%s"inputtext);// INPUT TEXT - The text you enter in the password dialog, You can use hash sys here too.
dini_Set(PATH"Password"pw); 
To get the password, use this.
PHP код:
 dini_Get(PATH"Password"); 
Reply
#5

Quote:
Originally Posted by Kraeror
Посмотреть сообщение
error: undefined symbol "dini_IsSet"
dini_IsSet is in dini2
if you are using first dini use dini_Isset (no MAJ)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)