Re: Saving Image in mySQL

From: Date: Wed, 20 Mar 2013 13:09:00 +0000
Subject: Re: Saving Image in mySQL
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-48707@lists.php.net to get a copy of this message
Absolutely - do not store any images in a db. Makes no sense. The data (the image) is static, basically safe from alteration or changing in any way, so what is the need? Save the location/name of the image only and store all of them in one (or more) secured folders on the server. No db overhead, no potential roadblocks as you grow your data tables and no excess time spent by the os storing and retrieving from the db. Really - not a good idea.

« previous php.db (#48707) next »