WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Database Discussion Forum This is the place to find help resolving those nagging questions you have about implementing and using all kinds of databases. Need help writing a query? Need an opinion on Oracle? Post here!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-24-2006, 09:22 AM
WebProWorld Veteran
 

Join Date: Jul 2005
Location: London - Cheswick
Posts: 675
JuniorOnline RepRank 0
Default Video & voice files - MYSQL

Hello all,

Are there any websites that describe what's needed in order to setup a database that accepts video files? How do i got about uploading the files into the database and display them on the web for people to download and view?

thanks
Tala
Reply With Quote
  #2 (permalink)  
Old 10-24-2006, 09:43 AM
WebProWorld Pro
 

Join Date: Sep 2005
Location: Manchester, UK
Posts: 257
mikesmith76 RepRank 0
Default

i personally wouldn't upload any file content into a database. instead simply upload the video file to a secure part of your server and put the filename into the database. when someone wants to view a file access the database to get the filename, and fetch that file from the secure area.
Reply With Quote
  #3 (permalink)  
Old 10-24-2006, 09:46 AM
WebProWorld Veteran
 

Join Date: Jul 2005
Location: London - Cheswick
Posts: 675
JuniorOnline RepRank 0
Default

aha!! i didnt think of that.
if the person used the location of the file to view the video, do they view the vedio as part of the page? or externally it uploads and open in the person's video player?

thanks again
T
Reply With Quote
  #4 (permalink)  
Old 10-24-2006, 11:50 AM
WebProWorld Pro
 

Join Date: Sep 2005
Location: Manchester, UK
Posts: 257
mikesmith76 RepRank 0
Default

If you had the video files in a publicly accessible place then yes they could view the video directly, i'm guessing this isn't what you want?

You could upload the videos to a directory outside the document root and then read the contents of the file using a script. You would then add a check to see if the script is being called directly, or as part of your main page.

Looking at the sites in your signature i see you are using ASP.NET. If so I haven't got around to playing with that yet so I couldn't give you any code examples, i'm sure someone here must know some though.
Reply With Quote
  #5 (permalink)  
Old 10-24-2006, 11:54 AM
WebProWorld Veteran
 

Join Date: Jul 2005
Location: London - Cheswick
Posts: 675
JuniorOnline RepRank 0
Default

thanks Mike, I am looking into designing another site in PHP, apache and mysql :)
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Tags: , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0