AN_SafeFileName

Clean filename from special characters to make it safe for server upload
Then if parameter passed, it will cut the filename to certain length
Characters will be removed are \/*+=?&$#%,
NewLength if more than 0, it will cut to get the left part of filename for this length
NewLength make it as 0 or "" to get full filename

CodeFunctionName What is this?

Public

Tested

Original Work

Access is limited.

Login here using your Linkedin account. to see or download code.

No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Boldcodes.com

Linkedin Login

FileName, NewLength

Views 1,538

Downloads 516

CodeID
DB ID