diff --git a/tornike_goguadze/1 project/index.php b/tornike_goguadze/1 project/index.php new file mode 100644 index 0000000..c7952a6 --- /dev/null +++ b/tornike_goguadze/1 project/index.php @@ -0,0 +1,104 @@ + + + + + + + + + Document + + + + + + +
+
+ + * +
+
+ + * +

+ + + * +

+ +
+ + +
"; + } + + unset($_SESSION['postdata'], $_SESSION['filepath'] ,$_SESSION['file_tmp_name'] ); + } +?> + + + + + + \ No newline at end of file diff --git a/tornike_goguadze/2 project/index.php b/tornike_goguadze/2 project/index.php new file mode 100644 index 0000000..e525c75 --- /dev/null +++ b/tornike_goguadze/2 project/index.php @@ -0,0 +1,127 @@ + + + + + + + + + Document + + + + + + + $url , + CURLOPT_RETURNTRANSFER => true, + CURLOPT_HTTPHEADER => array('Accept: application/json', 'Content-Type: application/json', 'User-Agent: Gvele') + ]); + + $data = curl_exec($ch); + $_SESSION['status_code'] = curl_getinfo($ch, CURLINFO_HTTP_CODE); + curl_close($ch); + $_SESSION['api'] = json_decode($data); + + + unset($_POST); + header("Location: ".$_SERVER['PHP_SELF']); + exit; + + } +?> + + +
+
+ + +
+
+ + + + + +
+
+ + + $value) : ?> +
+
+
+ +
+
+
+ + + + + + +
+
+
+ avatar_url) ?> width="50" height="150" alt="Card image cap"> + +
+
+
+ + +
+ + + + + + + + \ No newline at end of file