Guest convention Posted September 3, 2006 Share Posted September 3, 2006 I have an upload form, but I would like PHP to automatically change the uploaded file to a specified name upon upload. How can I do this? Thank you! Link to comment https://forums.phpfreaks.com/topic/19557-change-file-name-upon-upload/ Share on other sites More sharing options...
zq29 Posted September 3, 2006 Share Posted September 3, 2006 I would assume you're using the move_uploaded_file() function, just change the 'destination' parameter to whatever you want to rename the file to. Link to comment https://forums.phpfreaks.com/topic/19557-change-file-name-upon-upload/#findComment-85076 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.