Submit Your Article Forum Rules

Results 1 to 5 of 5

Thread: Video & voice files - MYSQL

  1. #1
    Senior Member
    Join Date
    Jul 2005
    Posts
    669

    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

  2. #2
    Senior Member
    Join Date
    Sep 2005
    Posts
    254
    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.

  3. #3
    Senior Member
    Join Date
    Jul 2005
    Posts
    669
    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

  4. #4
    Senior Member
    Join Date
    Sep 2005
    Posts
    254
    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.

  5. #5
    Senior Member
    Join Date
    Jul 2005
    Posts
    669
    thanks Mike, I am looking into designing another site in PHP, apache and mysql :)

Similar Threads

  1. Can ETL tools transfer some delimited files into a MySQL database?
    By SuperTom in forum Database Discussion Forum
    Replies: 6
    Last Post: 12-04-2008, 11:56 PM
  2. Video files
    By Jeffff in forum Flash Discussion Forum
    Replies: 3
    Last Post: 08-13-2007, 02:03 PM
  3. Sale of dynamic content and securing mp3, pdf files [PHP/mySQL]
    By davss in forum Web Programming Discussion Forum
    Replies: 3
    Last Post: 06-17-2007, 06:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •