Core Function RMDir
From Sputnik Wiki
RMDir ( <path>, <flag> )
Contents |
Description
Deletes the specified directory and, if indicated, any subdirectories in the directory.
Parameters
path
The path to use.
flag
Optional; If flag is higher than any subdirectories in the directory will also be deleted.
Default 0.
Return Value
Success: Returns 1.
Failure: Returns 0.
Remarks
None
Example
mkdir('test\test2\test3'); rmdir('test', 1);