RE: [PHP] Displaying user data and picture
| From: | tedd | Date: | Sun, 09 Aug 2009 11:48:28 +0000 |
| Subject: | RE: [PHP] Displaying user data and picture | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296505@lists.php.net to get a copy of this message | ||
At 9:00 AM -0400 8/7/09, Bob McConnell wrote:
From: Ralph Deffke6. 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.comhowever 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 engines5. There is a natural relationship between the images and other data already in the database, such as ID photos linked to employee numbers.