Project: Simple Online Document Sharing System using PHP/MySQLi
The Online Document Sharing System is a simple file sharing platform project that can help a company share their documents and also for online classes especially for those schools that currently using Modular Learning Process. This system allows the user to share his/her documents by uploading the files to the system with the details for the target receiver reference for the shared document. This system can be helpful especially for currently using Modular Learning Process due to the pandemic. Using this system faculty of a certain school can upload the soft copies of modules then share the document using the provided link. Each document can store multiple files which means in this feature the user files are well organized.
The system works this way. For example, a teacher will store the students' modules soft copies for week 1 in a single document and save it with the title of "Module set for week 1" and the teacher can add notes in the description box. After that, the teacher will click the "Share this Document" button on the document view page to get the shareable link. Then when the student browses the shared link in his/her browser, the document details and files will be shown, then the student can download the files by clicking the download icon from the "File/s Panel" of the page.
The Online Document Sharing System was developed using HTML, PHP/MySQLi, CSS, JavaScript (jQuery/Ajax), and Bootstrap for the design. The source code is fully functional and easy to modify or enhance. Follow the instruction below to have an actual experience using this simple project.
Email: admin@admin.com
Password: admin123
I hope this simple Online Document Sharing System will help you with what you are looking for, feel free to download and modify the source code.
Explore more on this website for more source codes and tutorials.
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 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.
Try to change the Code of view_document.php
FROM:
<?php include 'db_connect.php'; $qry = $conn->query("SELECT * FROM documents where md5(id) = '{$_GET['id']}' ")->fetch_array(); foreach($qry as $k => $v){ if($k == 'title') $k = 'ftitle'; $$k = $v; } ?>
<?php include 'db_connect.php'; $qry = $conn->query("SELECT * FROM documents where md5(id) = '{$_GET['id']}' "); if($qry->num_rows > 0 ){ foreach($qry->fetch_array() as $k => $v){ if($k == 'title') $k = 'ftitle'; $$k = $v; } }else{ //do something here... } ?>