Jump to content

Recommended Posts

Hey Everybody,

I'm working on a site that I can upload my videos to and allow others to download them (as long as they are registered), I have my layout I just need to get into the coding but i'm not sure how I should go about making my tables for my database. In specific I don't know how I would do my video database should i have the video in the database as a LONGBLOB or is there a better way to handle the video. I would like to upload the video from a page that only I can access when logged on.

Thanks,
Chris
Link to comment
https://forums.phpfreaks.com/topic/22379-little-advice/
Share on other sites

I should move this... but... whatever.

Don't store your files in the database.  It's inefficient.  Create a directory on the server for your videos and store them there.  In the database, store records referring to the name and location of the files you're storing.
Link to comment
https://forums.phpfreaks.com/topic/22379-little-advice/#findComment-100257
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.