I have been working on db that holds business listings and the web pages that access them. I have it setup now so that when an new listing is added, if they have a logo, it is renamed with the primary key field in it so it can be found using if file_exists. Is it faster to do it this way, or to add a field to the db to store the image name.
Thanks
Justin