Welcome Guest, Not a member yet? Register   Sign In
How to store video paths in mysql
#1

[eluser]phpserver[/eluser]
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.
#2

[eluser]m4rw3r[/eluser]
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.




Theme © iAndrew 2016 - Forum software by © MyBB