. Contact: Lyubomir Arsov, liubo (at) web-lobby.com */ include '../system.inc.php'; include 'functions.inc.php'; verifyAction('CREATEDIR'); checkAccess('CREATEDIR'); $path = RoxyFile::FixPath(trim(empty($_POST['d'])?'':$_POST['d'])); $name = RoxyFile::FixPath(trim(empty($_POST['n'])?'':$_POST['n'])); verifyPath($path); if(is_dir(fixPath($path))){ if(mkdir(fixPath($path).'/'.$name, octdec(DIRPERMISSIONS))) echo getSuccessRes(); else echo getErrorRes(t('E_CreateDirFailed').' '.basename($path)); } else echo getErrorRes(t('E_CreateDirInvalidPath')); ?>