File names beginning with anything but a-Z or 0-9 will be rejected (including .htaccess for example).
File names containing anything other than above mentioned will also be rejected (file names with spaces won't be accepted).
public static isValidFilename ( string $filename ) : boolean | ||
$filename | string | |
Результат | boolean |