diff --git a/Php/File_upload.php b/Php/File_upload.php new file mode 100644 index 00000000..704206e0 --- /dev/null +++ b/Php/File_upload.php @@ -0,0 +1,36 @@ +#php code that takes file and store to back end. + + 2097152){ + $errors[]='File size must be excately 2 MB'; + } + if(empty($errors)==true){ + move_uploaded_file($file_tmp,"images/".$file_name); + echo "Success"; + }else{ + print_r($errors); + } + } +?> + + +# creating html file to take input from user . + +
+ + +