Question

Possible Duplicate:
Storing Images in DB - Yea or Nay?

i am curios about to know, if i should save uploaded images in the database as binarys or save in the filestructure? Maybe some examples of when i should use both scenarios.

Duplicate topic: Storing Images in DB - Yea or Nay?

Was it helpful?

Solution

Depends totally on what your after, but likely you want then in a DB. If you just upload you own (like own webpage) you could do with filesystem, but this doesn''t allow for duplicate names since it (if allowed to) overwrites the original.

But well on the other hand the filesystem could be a DB itself

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top