Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top