Download presentation
Presentation is loading. Please wait.
Published byCynthia Walton Modified over 8 years ago
1
Media Access online media sharing ECE 3553 Multifarious Systems Cary Fung December 7, 2007
2
Problem Statement To figure out and design a website that allows members to privately share media to each other. To figure out and design a website that allows members to privately share media to each other. Similar sites are flickr.com or photobucket.com Similar sites are flickr.com or photobucket.com
3
Difficulties Securing webpage with logins Securing webpage with logins Uploading to server Uploading to server Organizing files Organizing files Previewing files Previewing files Restrictions Restrictions
4
Solutions Sessions to check if logged in Sessions to check if logged in<?phpsession_start(); if(!($_SESSION["authenticated"] == 1)) die("You must first login."); ?> Used a different server that allows uploads Used a different server that allows uploads
5
Solution Mysql tables to keep organized Mysql tables to keep organized One table to keep track of all the users. One table to keep track of all the users. One table to keep track of the file uploaded. One table to keep track of the file uploaded. Changed file size to preview Changed file size to preview Set size and file types allowed Set size and file types allowed if (($_FILES["file"]["type"] == "image/gif") //check if image is a gif file || ($_FILES["file"]["type"] == "image/jpeg") //check if image is a jpeg file || ($_FILES["file"]["type"] == "image/pjpeg")//check if image is jpeg file for internet explorer && ($_FILES["file"]["size"] < 700000))//check if image is less than 700kb
6
Results
7
Future Improvement Associating uploads with members. Associating uploads with members. Uploading other times of files like audio and video. Uploading other times of files like audio and video. Creating personal pages for members. Creating personal pages for members. Removing files. Removing files.
8
Topics Covered XHTML XHTML Cascading Style Sheets Cascading Style Sheets PHP PHP MYSQL MYSQL
9
References www.php.net www.php.net www.w3schools.com/php www.w3schools.com/php www.tizag.com/phpT www.tizag.com/phpT
10
Best Part Seeing what is already uploaded and able to download them Seeing what is already uploaded and able to download them
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.