PHP Simple File Upload with HTML form without any validations

In this video I have shown how you can create simple file upload project with HTML form without any file type validations. This project is shown in XAMMP server installed in windows pc.

1. The project structure in localhost XAMMP server is as shown below.
We will be requiring an index.php page with HTML form to upload the file. Then a upload_controller.php to save the file in to the specified folder.

2. index.php with the HTML form is shown below. This page will submit the selected file into the upload_controller.php which will process the upload functionality.

3. The upload_controller.php will save the file into the uploads folder in the server.

4. After running the project. The index.php and upload_controller.php is shown below.