I need to modify the script to additionally do the following:
Once the image is on the server, I want it to duplicate itself, then,
rename the new duplicated file to a variable name.
(Let's say $TEST . '.jpg' where $TEST = TESTING for this example)
My current piece of code:
Spoiler
This following piece of code might assist you:
Spoiler
PS: I am quite new to PHP. (Introduced to it only about 3 days ago)