diff --git a/app/Http/Controllers/UploadFileController.php b/app/Http/Controllers/UploadFileController.php deleted file mode 100644 index 7b74d46..0000000 --- a/app/Http/Controllers/UploadFileController.php +++ /dev/null @@ -1,36 +0,0 @@ -file('image'); - - //Display File Name - echo 'File Name: ' . $file->getClientOriginalName(); - echo '
'; - - //Display File Extension - echo 'File Extension: ' . $file->getClientOriginalExtension(); - echo '
'; - - //Display File Real Path - echo 'File Real Path: ' . $file->getRealPath(); - echo '
'; - - //Display File Size - echo 'File Size: ' . $file->getSize(); - echo '
'; - - //Display File Mime Type - echo 'File Mime Type: ' . $file->getMimeType(); - - //Move Uploaded File - $destinationPath = 'uploads'; - $file->move($destinationPath, $file->getClientOriginalName()); - } -}