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!
The script im using atm automatically creates a counter file in a folder, but doesnt remove them after the system is finished with them. I know how to remove them when they need to go, but obviously before then i need to do some garbage collecting.
So... Is it possible to load every filename from a folder into an array? basically i need to go thru the whole folder, check the file is current to the db, and remove it if it isnt.