tim101011 Posted October 28, 2007 Share Posted October 28, 2007 hi, i am trying to work out the syntax for a statment for moving a file from folder a to folder b on my server e.g my files called "26a.jpg" and I want to move it from "foldera" to "folderb" Quote Link to comment https://forums.phpfreaks.com/topic/75107-moving-a-file-from-one-folder-to-another/ Share on other sites More sharing options...
trq Posted October 28, 2007 Share Posted October 28, 2007 <?php rename("foldera/26a.jpg","folderb/26a.jpg"); ?> Quote Link to comment https://forums.phpfreaks.com/topic/75107-moving-a-file-from-one-folder-to-another/#findComment-379862 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.