General Introduction
Features
Settings
Email system
Date and Time
URL rewrite
Special constants
Special variables
Complex logic in filter
CombinePath
Copy
CreateDirectory
Delete
DirectoryExists
ExtractNameFromPath
ExtractPathFromPath
FileExists
GetDirectory
GetFile
Move
RelativeToAbsolutePath
SiteRelativeToAbsolutePath
ValidateFalenameString
ValidatePathString
ValidateFalenameString
bool CBXVirtualIo::ValidateFalenameString( string $filename );
The method validates file (folder) name. Non-static method.
Parameters
Parameter | Description |
---|---|
filename | File (folder) filename |
Example
echo $io->ValidatePathString("file.php"); // returns 1 echo $io->ValidatePathString("/file.ph*p"); // returns 0
© «Bitrix24», 2001-2024
Up