php-windows Digest 10 May 2012 18:08:09 -0000 Issue 4040
Topics (messages 30872 through 30872):
Alternative methods for storing uploaded images?
30872 by: Jacob Kruger
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Just wondering if it's better to either store uploaded images, via something
like a form of CMS, in a static folder, with a unique name based on something
like the data record's id field, when keeping track of it's location like that,
or is it better to actually store the binary data of the image file in the
mySQL database itself, and then sort of stream it back out when displaying the
image, and if so, would presume that would be relatively simple to implement,
but, OTOH, if you were then using the data to then render static content output
for later use, it would, obviously, be better to keep the image content static
as well...?
Thoughts/examples?
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
--- End Message ---