$StrFileInvalidName";
else if ($fp = @fopen ($home_directory.$path.stripslashes($_POST['filename']), "wb"))
{
fwrite($fp, $text);
fclose($fp);
print "$StrSaveFileSuccess";
}
else
print "$StrSaveFileFail";
}
else if ($AllowEdit && isset($_GET['filename']))
{
print "
";
print "";
print "";
print " $StrEditing \"".htmlentities($filename)."\"";
print " | ";
print "";
print "";
print " | ";
print "
";
print "";
print "";
print " ";
if ($fp = @fopen($home_directory.$path.$filename, "rb"))
{
print "";
}
else
print "$StrErrorOpeningFile";
print "
";
print " | ";
print "
";
print "
";
}
else
print "$StrAccessDenied";
?>