possible?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Aaron
Forum Commoner
Posts: 82
Joined: Sun May 12, 2002 2:51 pm

possible?

Post by Aaron »

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
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

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.
Post Reply