I was wondering how you rename an image file while uploading.
Like I want "asdg.gif" to rename to "image_1.gif" on the upload to change to the entries id and store on the database for the entry.
How can you do this?
bool move_uploaded_file ( string filename, string destination )
The destination could be your_pics_path/image_1.gif ...