Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Video Files Path

by themage (Friar)
on Dec 21, 2006 at 13:51 UTC ( #591101=note: print w/ replies, xml ) Need Help??

in reply to Video Files Path


Just a note: MySQL don't have a real Blob field intented to store binary files (the MySQL blob is a Binary Version of the Text field type). You're sugested to store the media files in disk and keep the path to your file in the mysql record.

Talking Web

Comment on Re: Video Files Path
Replies are listed 'Best First'.
Re^2: Video Files Path
by Anonymous Monk on Dec 21, 2006 at 13:56 UTC
    Yes, I could store all media files in a directory somewhere, and store only the path to the file in the mysql DB.
    Would that be efficient?

      Usually it would. If you have everything correctly configured and coded, most times you would just use the media files directly from the directory where they are stored.

      It really depends on what you're doing and how you're doing it.

      Talking Web

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://591101]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2015-11-29 15:43 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls