RE: [PHP] Displaying user data and picture

From: Date: Fri, 07 Aug 2009 13:00:35 +0000
Subject: RE: [PHP] Displaying user data and picture
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-296432@lists.php.net to get a copy of this message
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. Bob McConnell

« previous php.general (#296432) next »