Page 1 of 1

Code for Reanming Image file when upload into an folder

Posted: Fri Jun 22, 2007 12:21 pm
by rkumar
Hi friends

My problem is rename image file when uploading into an folder,
Means i am using move upload function to upload image .i wants to rename image file while upload into folder

can anybody help me out for this.....

Posted: Fri Jun 22, 2007 1:35 pm
by mentor
In 2nd parameter of move_uploaded_file() you can use the new filename.