|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| 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! |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
|
|||
|
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.
|
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
thanks Mike, I am looking into designing another site in PHP, apache and mysql :)
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |