Posts: 95
Threads: 28
Joined: Jan 2011
Reputation:
0
I need to get the file name of all the files in a specific folder/directory. This poses a problem because you cannot easily achieve this considering there are not any functions to handle this in pawn or in y_ini (the file system I'm using). So I looked around for a plugin, but this plugin was bugged and out dated so I could not use this. So my question is, how can I iterate through a directory and collect all the files/file names into one array so I can display it and use the collected data. Thanks in advance for the help, or attempts of help.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
You'll have to use one of the file plugins. There's no functionality for this in pawn.
Posts: 1,849
Threads: 96
Joined: Apr 2010
Reputation:
0
I always had problems doing this too therefore i first switched to SQLite and then MYSQL. Quering everything is easy and efficient.
Posts: 95
Threads: 28
Joined: Jan 2011
Reputation:
0
Does it create a local database, or do I need to have a server?
Posts: 95
Threads: 28
Joined: Jan 2011
Reputation:
0
I must have skipped over the plugins then, Ill go search even more.