Project: Video Sharing Website using PHP/MySQLi
The Video Sharing Website is a simple PHP/MySQLi project that lets the website users uploads some videos to share with the public online. This is project is inspired by the well-known and one of the most popular video-sharing sites which are YouTube (YT). Using this system, to upload and share a clip or video/s, the user must create an account. When uploading a video or clip on the website, the user should navigate their page to the "My Uploads" page where all the list of their uploaded videos is shown. Then, the user will simply click the "Upload" button at the upper right of the container of the page, then the upload form will popup, this feature and some of the User Interface is still inspired by YouTube and easy to use. When the user chooses their video to upload, the selected video or clip has a preview area which is located at the right side of the upload modal and take note that the selected video is not automatically uploaded to the site yet until the user will submit the form by clicking ht "Upload" button of the modal. The user can also add a thumbnail or poster image for the clip to display. This project also counts the views in each user clip when viewed by other users or visitors to the website.
The Video Sharing Website 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: [email protected]
Password: jsmith123
I hope this simple Video Sharing Website 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.
function save_user() { extract($_POST); $data = ""; foreach ($_POST as $k => $v) { if (!in_array($k, array('id', 'cpass'))) { //Everything but the confirmation password if (!empty($data)) $data .= ", "; if(in_array($k, array('id', 'password'))){ $hash = md5($v); $data .= " $k='$hash' "; }else{ $data .= " $k='$v' "; } ......