vroom05 Posted May 31, 2007 Share Posted May 31, 2007 Is there a contribution or mod that warns if the product image name already exists in the database? Right now when you add a new product with an image that has the same filename as a nother product, you overwrite the old image and it messes up your old product listing. Link to comment Share on other sites More sharing options...
Guest Posted May 31, 2007 Share Posted May 31, 2007 there is a php function you can use called file_exists if (file_exists($filename) ) { // Do something if file exists } else { // Do something else files doesnt exist } Link to comment Share on other sites More sharing options...
alqamardesigns Posted June 3, 2007 Share Posted June 3, 2007 Hi there, which file would we add this php function to? Thanks Link to comment Share on other sites More sharing options...
alqamardesigns Posted June 3, 2007 Share Posted June 3, 2007 Hi there, which file would we add this php function to? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.