• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to store video paths in mysql

I am involved in a small project that will enable my users watch videos.I want to save paths in a mysql database that will enable me do the following.

Delete a video
View all my videos in a list
Watch a video

Any help is welcome.

It would probably be the same way you store images which users have uploaded.

Store them in a certain directory (maybe also subdirectories for each user) and then store the filename (and subdir name) in the database.
Then you also need a user_id column, to fetch the owning user / find all videos for a certain user.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.