In this article, I will be sharing with you a simple Web Application called File Manager Web App. This mini-project was developed using PHP and MySQL Database. The application is able to store/Upload, retrieve, download, and delete files. In this project source code, you will learn how to manage file uploads using PHP Language. I am sharing this source code because I think this will be useful for your future project and to enhance your programming capabilities.
The File Manage Web App has simple features that are all related to the uploaded file. All the uploaded files are listed/displayed in a table that has a filter, sorting, and pagination feature using the DataTable library. In here, the application user can simply upload the file by choosing the file that he/she desired to upload and by clicking the Submit button, the file will be uploaded into the server and will be enlisted on the table. The user can download the file by clicking the attachement/paper clip icon and delete the file by clicking the trashcan icon.
This PHP source code contains INSERT Statement to save the data into the database.
- $date = date('Y-m-d H:i:s');
- $query=$conn->query("INSERT INTO upload (name,date) VALUES ('$name','$date')");
The File Manager Web Application's Source Code is free to download on this website. Feel free to download and modify it the way you wanted.
That's it! You can now test the features and functionlities of this Simple File Manager Web App in PHP and MySQL Database. I hope this will help you with what you are looking for and for your future projects.Happy Coding!!
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.