Function admStrIsValidFileName
Check if a filename contains invalid characters. The characters will be checked with strValidCharacters. In addition the function checks if the name contains .. or a . at the beginning.
		
		
				Copyright:
				2004-2016 The Admidio Team
License: GNU General Public License v2.0 only **********************************************************************************************
Located at
	
	License: GNU General Public License v2.0 only **********************************************************************************************
Located at
Parameters summary
| string | $filename | Name of the file that should be checked. | 
| boolean | $checkExtension = false | <p>If set to @b true then the extension will be checked against a blacklist of extensions: php, php3, php4, php5, html, htm, htaccess, htpasswd, pl, js, vbs, asp, cgi, ssi</p> | 
Return value summary
| 
				true
			 | Returns @true if filename contains only valid characters. Otherwise an AdmException is thrown | 
Thrown exceptions summary
| 
				 | SYS_FILENAME_EMPTY : Filename was empty BAC_FILE_NAME_INVALID : Filename contains invalid characters DOW_FILE_EXTENSION_INVALID : Filename contains invalid extension |