Hi guys,
I'd like to know your opinion about how to store in a MySQL db a link to some user's images!
I thought to create a VARCHAR field where I could save a link to the
user's private area, I don't like to use LONGBLOB...
Regards.
^Bart
There is nothing wrong with BLOBs - long or otherwise.
You can create a VARCHAR field which points at a file (which would work,
if you insist) but then you have a potential problem with data
integrity. What happens if, for instance, the user deletes or even
renames the file?a Your link is now invalid.a That doesn't happen with
BLOB fields.
There is nothing wrong with BLOBs - long or otherwise.
I don't like to use the DB for something which is not necessary! :D
I think it's crazy to store images inside a db, if you do it your db
will be very very very big
There is nothing wrong with BLOBs - long or otherwise.
I don't like to use the DB for something which is not necessary! :D
I think it's crazy to store images inside a db, if you do it your db
will be very very very big and its speed will going down quickly!
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 63 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 492975:38:24 |
| Calls: | 840 |
| Files: | 1,301 |
| D/L today: |
16 files (28,385K bytes) |
| Messages: | 264,959 |