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! Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.