4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: alekinna on December 08, 2008, 05:11:20 AM

Title: Uploading 2 files with the same name
Post by: alekinna 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?
Title: Re: Uploading 2 files with the same name
Post by: batu544 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 ..

Title: Re: Uploading 2 files with the same name
Post by: alekinna 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!