CodeCharge Studio
DisallowedFileMasks Run-Time Property (PHP)
Applies to
FileUpload Control
Type
string
Access
read/write
Syntax
object->DisallowedFileMasks [= value]
Description
Stores a regular expression that is used to check if the filename mask is on the list of disallowed filename masks. If the filename mask is included in this property, the upload operation fails and an appropriate error message is displayed.
DisallowedMasks property has higher priority than the AllowedFileMasks property. In other words, if a mask is mentioned in both properties
(AllowedFileMasks and DisallowedFileMasks) the upload will fail.
Note: The initial value of this variable is built based on the contents of the "Disallowed File Masks" design-time property.
See also
AllowedFileMasks Property
On-line, printable versions and updates