Need help renaming a file online


#1

I am making a random image website and my images need to be called 1.jpg 2.jpg 3.jpg etc… and I was hoping to get a script which can automatically rename the files.

I will have a upload form so people can add there images to the folder but I wanted to rename the file as soon as it is uploaded automatically or jst takes a few clicks to do.

If any one can give me any ideas I would be chufed :)


#2

The only thing I can think of even remotely like what you want is a tutorial on http://www.codewalkers.com called “Uploading Files with Forms and PHP by Timothy Boronczyk”. Sorry i can’t be more help.


#3

There are tons of free scripts that would make this easy to do.


#4

When you save the file to the disk, you can change it then and there.