PDA

View Full Version : How to avoid the image replacement while saving images to a folder via PHP



cobbieffo
05-19-2011, 06:09 AM
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

priya899
05-23-2011, 06:33 AM
thanks a lot for sharing these tool , it ll help greatly to monitor and analyze all things.


priya:(