Documentation

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