starrylitgal Posted February 2, 2009 Share Posted February 2, 2009 i wanted to know how to delete or move files stored on the server to some other location using PHP? i want to move all the files stored in a particular folder to some other location- Like the commands in windows for cutting and pasting files from one location to another, how do u do this using PHP? Link to comment https://forums.phpfreaks.com/topic/143501-how-to-delete-files-stored-on-the-server-using-php/ Share on other sites More sharing options...
premiso Posted February 2, 2009 Share Posted February 2, 2009 rename will move the file. EDIT: Found that out from the manual, so took out the copy/unlink. Link to comment https://forums.phpfreaks.com/topic/143501-how-to-delete-files-stored-on-the-server-using-php/#findComment-752799 Share on other sites More sharing options...
starrylitgal Posted February 2, 2009 Author Share Posted February 2, 2009 hey... thnx i'll try that out! Link to comment https://forums.phpfreaks.com/topic/143501-how-to-delete-files-stored-on-the-server-using-php/#findComment-752800 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.