Hello: I am relatively new to PHP. I have a directory with 16 .jpg files in it. (eg: /images/boxer1.jpg, boxer2.jpg etc...)
As part of a larger PHP file copy and upload procedure, I want to create a second version of these files by appending a _h to the file (eg: boxer1_h.jpg, boxer2_h.jpg, etc..); leaving the new files in the same directory with the original files for further manipulation.
What would be the easiest way to accomplish this using PHP programming?