i want a script that i can go something like 'maps.php?cs_maps, and it will open the cs_maps folder, find all the files inside, which will all happen to be exe btw then produce one of the little boxes i use on csz for each of the found files ;
http://www.cszone.co.uk/de_maps.shtml
possible?
Moderator: General Moderators
Yeah, you could do that.
Simpy grab the query string, parse it for the directory name, and then read all the files in from that directory. For each file, when you print it out, simply print out the little picture by it. You might want to look into the dir(), opendir(), readdir(), and closedir() functions in PHP.
Simpy grab the query string, parse it for the directory name, and then read all the files in from that directory. For each file, when you print it out, simply print out the little picture by it. You might want to look into the dir(), opendir(), readdir(), and closedir() functions in PHP.