diff --git a/index.php b/index.php
new file mode 100644
index 0000000..1ea718a
--- /dev/null
+++ b/index.php
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - " . $_POST ['firstname'] .' '. $_POST ['lastname'] .""; ?>
+
+

">
+
+
+
+
+
+
+
+
+
diff --git a/validation.php b/validation.php
new file mode 100644
index 0000000..36df37f
--- /dev/null
+++ b/validation.php
@@ -0,0 +1,60 @@
+
+ "image/jpg",
+ "jpeg" => "image/jpeg",
+ "gif" => "image/gif",
+ "png" => "image/png");
+ $profile_image_url = NULL;
+ $ext = pathinfo($porfile_image, PATHINFO_EXTENSION);
+ if (!array_key_exists($ext, $allowed_ext)) {
+ $file_error="please choose image";
+ }
+ if(in_array($_FILES["profileimage"]["type"], $allowed_ext)) {
+ if(!file_exists($target_dir)) {
+ mkdir($target_dir);
+ }
+ if(move_uploaded_file($_FILES["profileimage"]["tmp_name"], $target_dir . $porfile_image) ){
+ $profile_image_url = $target_dir.$porfile_image;
+ }
+ }
+ }
+
+}
+
+
+
+
\ No newline at end of file