aboutsummaryrefslogtreecommitdiffstats
path: root/php/mkdir.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/mkdir.php')
-rw-r--r--php/mkdir.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/php/mkdir.php b/php/mkdir.php
new file mode 100644
index 0000000..cf5e8e4
--- /dev/null
+++ b/php/mkdir.php
@@ -0,0 +1,14 @@
+<?php
+require_once "database.php";
+require_once "user.php";
+require_once "node.php";
+
+session_start();
+$parent_directory=$_POST['parent_directory'];
+$dirname=$_POST['dirname'];
+$user=$_SESSION['user_object'];
+
+create_directory($parent_directory,$dirname,"",$user);
+
+
+?>