[HELP] Opening files by their number in the folder
#1

So..ill try to make this as easy to understand as possible:

For example:
There are 10 files in a folder. They are named "username.cfg"

Folder:
jacob.cfg
carlos.cfg
james.cfg
alex.cfg

jacob would be id 1
carlos would be id 2, etc.

would it be possible to open file #1 in the folder?
so without doing
Код:
fopen("jacob.cfg")
I could do
Код:
fopen(file1);
Also possibly if i could get the title of the file as well? thanks..
Reply


Messages In This Thread
[HELP] Opening files by their number in the folder - by lolumadd - 21.05.2010, 21:45
Re: [HELP] Opening files by their number in the folder - by [HiC]TheKiller - 21.05.2010, 22:17

Forum Jump:


Users browsing this thread: 1 Guest(s)