$StrFolderInvalidName";
else if (file_exists($home_directory.$path.stripslashes($_POST['directory_name']."/")))
print "$StrAlreadyExists";
else if (@mkdir($home_directory.$path.stripslashes($_POST['directory_name']), 0777))
print "$StrCreateFolderSuccess";
else
{
print "$StrCreateFolderFail
";
print $StrCreateFolderFailHelp;
}
umask($umask);
}
else if ($AllowCreateFile && isset($_GET['create']) && isset($_POST['filename']))
{
if (!is_valid_name(stripslashes($_POST['filename'])))
print "$StrFileInvalidName";
else if (file_exists($home_directory.$path.stripslashes($_POST['filename'])))
print "$StrAlreadyExists";
else if (@fopen($home_directory.$path.stripslashes($_POST['filename']), "w+"))
print "$StrCreateFileSuccess";
else
{
print "$StrCreateFileFail
";
print $StrCreateFileFailHelp;
}
}
else if ($AllowCreateFolder || $AllowCreateFile)
{
print "