Hello,
I have a folder on my server that contains loads and loads of images.
What I want to do is copy an image from this folder to another location and rename it at the same time all within a function....
....if I have 4 variables:
$name1 = "1.jpg";
$location1 = "/images1/";
$name2 = "2.jpg";
$location2 = "/images2/";
Is this possible.??
Thanks
Dave
Image moving and renaming on my server
Moderator: General Moderators
there is no move function in PHP. What you need to do is read up on the rename() function