Document Management System using PHP with Source Code


This is a simple project called Document Management System. This web application is developed using PHP/MySQLi. The main purpose of this project is to store and manage the file documents of a certain company or organization. The system store the documents in the database as BLOB type. Talking about storing the documents in the database, the system also stores other file information such as the file type and file size. The files that been stored in the database will be shown in the File List Tab of the system. Each file shown in the list has 2 actions that can be done by the user which are the delete and download. The system has 2 types of users which are the Administrator and the Normal user. The Admin users are only the ones who can register a new system user whether it is an Admin or Normal User.

The system was developed using PHP/MySQLi, MySQL Database, HTML, CSS, and Javascript (Ajax and jQuery). The code was originally developed using PHP/MySQL and recently updated to PHP/MySQLi so this can prevent any errors due to some deprecated PHP Functions.


  • Login/Logout
  • Retrieve System Account (Forgot Password)
  • Register System User
  • Manage System users
  • Upload File Document
  • Manage File Documents
  • Manage Profile
  • Download Stored Document

The Simple Document Management System's Source Code is Free to download. Follow the instructions provided below.

How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)


  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code file.
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming "doc_db".
  6. Import the provided SQL file. The file is known as "doc_db.sql" located inside the extracted source code folder.
  7. Browse the Simple Document Management System in a browser. i.e. http://localhost/doc_system/docsytems


Username: [email protected]
Password: 1234567


That's it! You can now experience the features and functionalities of this project. I hope this will help you with what you are looking for and you'll find something useful for your future PHP Projects.

Enjoy :)

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 for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


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.


Submitted byProgrammer wannabe (not verified)on Wed, 06/29/2022 - 14:44

is this for multiple device? or only for single device?
Submitted bytimothy makori (not verified)on Sun, 02/05/2023 - 01:47

please send me the database. Blessings.

Add new comment