can someone help me code this:
i put in "image.1jpg"
i want the script to make a copy of that image and name it "new_image1.jpg"
could anyone help me? i've looked all over trying to find how to do this.
Unfortunately, our resident telepath is currently off on military service, so all we can tell you is what is already in the manual. If that's not working then you have to tell us more. Like, your code, and what it is doing instead.
Originally posted by mosepi i want the script to make a copy of that image and name it "new_image1.jpg"
Use copy(), not imagecopy(). imagecopy() is for copying sections of images within GD resources, copy() is for copying files.