At 9:00 AM -0400 8/7/09, Bob McConnell wrote:
From: Ralph Deffke
however there are some reasonable reasons to store a
image in the database.
1. if u have no access to write files to the disk this
is the case in most free hosting services they give u
php and mysql and thats it
2. if u want some access control to the image, e.g. login
controlled. server admins dont like u playing arround
with the htaccess file
3. its easy in those and other cases
4. image directores are public, and apear in search engines
5. There is a natural relationship between the images and other data
already in the database, such as ID photos linked to employee numbers.
6. When you move to another server, you simply move the database and
not the database AND image directories.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php