A simple php script which scans a dir and returns results