mhoctober Posted May 10, 2006 Share Posted May 10, 2006 Experts...I have users upload files (gifs, jpegs etc..) via a form and code that remanes these files, creates a specifically named folder and stores the files therein!I also have code that can then create A. a thumbnail and B. a smaller version of the original file for viewing when the thumbnail is clickedWhat I'm missing is code that 'links' the two together.So - I'm looking for a way to...1. cycle through all the files in a known folder2. pass each file to code that creates the thumbnail and reduced file size file - that will create 1 thumbnail and 1 reduced file from each original3. delete the original files in the folder once 1 & 2 have completed succesfullyAny ideas? Link to comment https://forums.phpfreaks.com/topic/9498-looping-through-files-in-a-folder/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.