I wanted to organize the code in a better way. There you can see, what I wanted to do, but something went wrong. Any ideas?
Create directory (line 461)
PHP Code:
print "<a href='$PHP_SELF?path=".htmlentities(rawurlencode($path))."'>.:Back:.</a><br>";
print "<form action='$PHP_SELF?action=create_directory' method=post>";
print "The new directory will be placed in <font color='#FF0000'>".htmlentities($home_dir.$path)."</font><br>";
print "Please choose a name for the new directory:<br><br>";
print "<input type=text size=30 name=dirname> ";
print "<input type=submit value='Create directory'>";
print "<input type=hidden name=path value='".htmlentities(rawurlencode($path))."'></form>";
PHP Code:
Remade like:
doformheader("ftp","create_directory");
maketableheader("Create Directory");
makeinputcode("Name","dirname");
makehiddencode ("path",".htmlentities(rawurlencode($path)).");
doformfooter("Submit");
What it says:
ERROR: Unable to open the specified path.
PHP Code:
c:\myserver\root\mtrx\.htmlentities(rawurlencode($path)).