This will not work on a Windows Operating System, as PHP on Windows does not contain the fnmatch function....