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 images out, be sure to look at sending correct cache headers to ensure clients don't keep coming back, or implement a caching system so that the webserver doesn't have to go back to the database for a query each time an image is requested.. On Wed, 20 Aug 2003, hicham kersit wrote: > 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.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php