Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  Randomimage filename

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
There is an annoying problem about file uploads in oscommerce:
When you upload a picture with mypic.jpg to a product, and later you upload an other picture (I mean to an other product) with the same filename mypic.jpg
the second picture will overwrite the first one, so the first product will have the second products' picture :(

My solution is a little function which will add a random string to each uploaded filename, this way it prevents any overwrite problem.

Installation steps and modified upload.php file for RC2.2a version are in the zip file attached.
   Posted on: 05/25/2009     See contribution details Request Installation with Paid service