Re: [PHP-DB] storing images in a table or in a directory

2003-08-20 Thread colbey
I store alot in databases.. when you deal with filesystem there can be issues with multiple webservers (need replication using something like rsync, etc).. I've used the db/filesystem link method before aswell but typically go with database nowdays.. You do have to query each time to get image

Re: [PHP-DB] storing images in a table or in a directory

2003-08-20 Thread Chris Payne
Hi there, Why not do both? Store the images themselves in a dir, but reference them from a table, so that way you can control them pretty much totally via PHP and MySQL. You could them write a system to create thumbnails from selected items in the database or delete certain images etc . easi

[PHP-DB] storing images in a table or in a directory

2003-08-20 Thread hicham kersit
Hi, I have to manage a large amount of images uploaded by users on my site. Using php/mysql I don't know if I should store the images in a directory within the server or in a dedicated table. What is the most suited method? Thanks, best regards. -- PHP Database Mailing List (http://www.php.