SEARCH:
Previous: File_Exists_IncPath Next: fsGets

fsMakeDirNested

string Base_Path
string New_Path


Ensures that a complete directory path exists by issuing successive "mkdir" commands for each segment of New_Path inside of Base_Path.

If Base_Path is "/var/www/localhost/htdocs/app" and New_Path is "level1/level2/level3", then this routine issues successive PHP Mkdir commands until the complete path "/var/www/localhost/htdocs/app/level1/level2/level3" exists.

Previous: File_Exists_IncPath Next: fsGets