bool fnmatch ( string $pattern , string $string [, int $flags = 0 ] )
fnmatch() checks if the passed string would match the given shell wildcard pattern.
Returns TRUE if there is a match, FALSE otherwise.