Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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
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?
      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 drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2015-07-29 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls