Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Move files from one folder to another folder based on file extension

codecraigcodecraig Member Posts: 163
Currently i am uploading files to a tempFiles directory on my website. I would like to create a PHP script (or function basically) that will go through the tempFiles directory and move files with the ".zip" extension to directory A and move files with the ".pdf" extension to the directory B.
anyone know how i can do this?



Sign In or Register to comment.