I am developing a website which need contineous uploading of images to a folder.i want if the image already exists in the folder the name of the new image that i am going to upload can change autometically. i mean if there is a image named car.jpg in the folder and i again upalod the image of car.jpg the 2nd image renamed and save as car(2).jpg what to do to achieve this.. regard
How to avoid the image replacement while saving images to a folder via PHP
2
I am developing a website which need contineous uploading of images to a folder.i want if the image already exists in the folder the name of the new image that i am going to upload can change autometically.
i mean if there is a image named car.jpg in the folder and i again upalod the image of car.jpg the 2nd image renamed and save as car(2).jpg what to do to achieve this.. regard
i mean if there is a image named car.jpg in the folder and i again upalod the image of car.jpg the 2nd image renamed and save as car(2).jpg what to do to achieve this.. regard
- KirkMcD
Next Topics on Trending Feed
-
2