How to upload video files in php

Contributor
31Oct2008,15:06   #1
rekha's Avatar
Hi,

I want to upload video files,have to store it in a mysql database and retrieve it using php.How can i do this.Anyone pls help...


Regards
Rekha
Go4Expert Member
17Nov2008,00:05   #2
pete_bisby's Avatar
I wouldn't recommend storing any kind of files within a database, certainly video files. You have to store them as BLOBs (Binary Large OBjects), which are huge - it is an unnecessary overhead.

Why not upload the files to a directory on the server, and store the file/folder name in the database.
Team Leader
17Nov2008,12:02   #3
pradeep's Avatar
pete_bisby is absolutely right, storing large files, in database is not recommended at all, if you have problems in using you server filesytem, store your files in Amazon S3 (Simple Storage Service), if easy, efficient and fast!