Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

Hi,

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.

TheMage
Talking Web


Comment on Re: Video Files Path
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?
      Hi,

      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.

      TheMage
      Talking Web

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2014-09-03 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls