Image moving and renaming on my server
Posted: Wed Mar 15, 2006 9:18 am
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
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