Hi,
How do i store video files in SQL can i do with BLOB? if so how can i play it online?
Advance thanks
Storing video files and playing
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Storing video files and playing
You can store any kind of data in a BLOB. Search around for examples of adding and getting BLOB data from your database. And, in general to have PHP generate a response that is not HTML you use the header() method to set the MIME type of the data and then echo/dump the content.
(#10850)
Re: Storing video files and playing
hi
I'm a novice
data is beign saved in the DB, can you please explin in detail as how to do the rest?
Advance big thanks
I'm a novice
Advance big thanks
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Storing video files and playing
See the manual for the header() function about setting 'Content-type'.
(#10850)
Re: Storing video files and playing
ok i got that can u please tell step by step as how i should proceed. i can send audio to the database. next?
advance thanks
advance thanks