Function to search in files
This is a Tiny PHP Uploading script. It SHOULD be safe from both really large files and non-image files.
Walks every subdirectory starting from [initial_dir] and deletes every file in it that contains in its filename a [string]
List Files in a Directory in C#
List Files in a Directory in VB.NET
Get a List of Folders and/or Files