Loop user.ini
#1

How to loop all users.ini from \scriptfiles\users?

Reply
#2

Store every account created into another .ini file:

If you store all accounts created separated by commas you can later load them up with sscanf directly into an array. Then you can read each .ini separately with that array.

This would be extremly unefficient, resource consuming and would probably freeze the whole server on the process for several seconds, not to mention it is hard and you would need lots of memory allocation to store the results of each file.

The only efficient way to correctly do what you seek is using SQL.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)