Author Topic: Uploading 2 files with the same name  (Read 3060 times)

0 Members and 1 Guest are viewing this topic.

Offline alekinna

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
    • Gallery of cross-stitching
Uploading 2 files with the same name
« on: December 08, 2008, 05:11:20 AM »
In my general settings I set Upload mode=Save files with new name
and it's work fine if I upload 2 files with the same name and the same extension.
But I want it will work also if the extension is different.
How can I do this?

Offline batu544

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Free Celebrity wallpapers
Re: Uploading 2 files with the same name
« Reply #1 on: December 08, 2008, 05:15:18 AM »
Hi,
    but why you need it in that way .?? I think .. it will affect you in anyway ..


Offline alekinna

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
    • Gallery of cross-stitching
Re: Uploading 2 files with the same name
« Reply #2 on: December 08, 2008, 05:59:00 AM »
Quote
it will affect you in anyway

No, if I have on the server an image home.jpg and upload a new image home.gif the new name for the new file will be home.gif. I want it will be home_2.gif

Quote
but why you need it in that way

For my own little mod: I need to create a new folder with name of image, so it's must be different

------------------------------------------------------
SOLVED!
« Last Edit: December 10, 2008, 07:39:28 PM by alekinna »