Commit f0c56e5d authored by Gudipaty Aniket's avatar Gudipaty Aniket

user directory feature added

parent 94b0c438
...@@ -18,8 +18,13 @@ if (isset($postData) && !empty($postData)) { ...@@ -18,8 +18,13 @@ if (isset($postData) && !empty($postData)) {
'id' => mysqli_insert_id($mysqli), 'id' => mysqli_insert_id($mysqli),
'username' => $username 'username' => $username
]; ];
mkdir($authData['id']);
echo json_encode($authData); echo json_encode($authData);
} else { }
else {
echo "mysqli_error($mysqli)"; echo "mysqli_error($mysqli)";
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment