Method: v::filename
Checks for valid filename
Info
Syntax
v::filename($string)
Parameters
- $string (string)
Return (boolean)
Example
if(v::filename('test.txt')) echo 'That is a valid filename';
Checks for valid filename
v::filename($string)
if(v::filename('test.txt')) echo 'That is a valid filename';