require_once 'dir.func.php'; require_once 'file.func.php'; require_once 'common.func.php'; $path="file"; $path=$_REQUEST['path']?$_REQUEST['path']:$path; $act=$_REQUEST['act']; $filename=$_REQUEST['filename']; $dirname=$_REQUEST['dirname']; $info=readDirectory($path); if ($act=="create"){ $mes=createFile($path."/".$filename); alertMes($mes,$redirect);
createFile