Code for Reanming Image file when upload into an folder

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rkumar
Forum Newbie
Posts: 4
Joined: Fri Jun 22, 2007 12:08 pm

Code for Reanming Image file when upload into an folder

Post 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.....
mentor
Forum Contributor
Posts: 100
Joined: Sun Mar 11, 2007 11:10 am
Location: Pakistan

Post by mentor »

In 2nd parameter of move_uploaded_file() you can use the new filename.
Post Reply