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

Re: Video Files Path

by themage (Friar)
on Dec 21, 2006 at 13:51 UTC ( [id://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

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://591101]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-28 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found