diff --git a/davit_gelovani/index.php b/davit_gelovani/index.php new file mode 100644 index 0000000..5bdf97c --- /dev/null +++ b/davit_gelovani/index.php @@ -0,0 +1,29 @@ + + + + + + Challange 1 + + + +
+ Fill the form: +
+ + +
+
+ + +
+
+ + +
+ + +
+ + + \ No newline at end of file diff --git a/davit_gelovani/upload.php b/davit_gelovani/upload.php new file mode 100644 index 0000000..65b15da --- /dev/null +++ b/davit_gelovani/upload.php @@ -0,0 +1,28 @@ + + + + + + Challange 1 + + + + ' . 'Name:' .'' . $_POST['name']; + print '

' . 'Surname:' .'

' . $_POST['surname']; + print '

Profile Picture:

'; + }else{ + echo "
Name and surname should be written with letters A-z
"; + } + echo '

Image

'; + $imageData = file_get_contents($_FILES['profile']['tmp_name']); + echo sprintf('', base64_encode($imageData)); + + } else{ + header("Location: index.php"); + }?> + + + diff --git a/oto_zakalshvili/form.php b/oto_zakalshvili/form.php deleted file mode 100644 index ceaa4bb..0000000 --- a/oto_zakalshvili/form.php +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -
- - - -
- - - - \ No newline at end of file diff --git a/oto_zakalshvili/index.php b/oto_zakalshvili/index.php deleted file mode 100644 index 3940001..0000000 --- a/oto_zakalshvili/index.php +++ /dev/null @@ -1,9 +0,0 @@ -