HI - I'm trying to copy the contents of one .jpg file into another .jpg file that already exists using the
copy("image1.jpg","image2.jpg"); command. I keep getting the following message, or a variation thereof - "Warning: ChDir: No such file or directory (errno 2) in .../currentfile.php3" as well as "Warning: Unable to open 'image1.jpg' for reading: No such file or directory in .../currentfile.php3.
I've tried to set up a chdir command with chdir("../indeximages"); followed by the copy command but nothing seems to be working. I'm very new at this so any help would be appriciated. Thanks..