Subject: Rename multiple file upload in sequential order
Posted By: flyguylol Post Date: 1/11/2006 5:05:05 PM
Hello all.

I'm working on a site that allows the optional upload of 5 images.  Currently, those images are saved to the "upload" folder in my root directory.  I want these images to be renamed as:

"the username_photo1"
"the username_photo2" (if there are two photos)
"the username_photo3" (if there are three photos)
"the username_photo4" (if there are four photos)
"the username_photo5" (if there are five photos)

I am using php/mysql server model, and I am using PurePHPupload to do the image uploading.  Any help would be greatly appreciated!

Go to topic 38614

Return to index page 397
Return to index page 396
Return to index page 395
Return to index page 394
Return to index page 393
Return to index page 392
Return to index page 391
Return to index page 390
Return to index page 389
Return to index page 388