aboutsummaryrefslogtreecommitdiffstats
path: root/php/mkdir.php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-12 22:35:02 +0200
committeradam <adam@>2021-02-12 22:35:02 +0200
commitb79da4bf1b39d6b203a083c7bcbef106dff06eaa (patch)
tree29db21995263495b9614f00ee1dccca4be76adaa /php/mkdir.php
parent022e478554fdb7110f3029fab49f706ba1d893ad (diff)
downloadfileup-b79da4bf1b39d6b203a083c7bcbef106dff06eaa.tar.gz
mkdir
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);
+
+
+?>