validkeys Posted February 20, 2007 Share Posted February 20, 2007 When I upload files to my site, I rename the file using a certain naming scheme. I save the name of the file in my database as well as the location of the file. If, weeks later, I change the name of the file in my database, how do I rename the actual file on my server? thanks in advance Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 20, 2007 Share Posted February 20, 2007 http://us3.php.net/move_uploaded_file You rename it by passing the new file name. Quote Link to comment Share on other sites More sharing options...
validkeys Posted February 20, 2007 Author Share Posted February 20, 2007 thanks so much! I Appreciate it 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.