Re: Duplicate Images

From: Date: Mon, 24 Nov 2003 03:46:27 +0000
Subject: Re: Duplicate Images
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-170757@lists.php.net to get a copy of this message
Erin wrote:
Hi All,
    Please give me a hand with this, ive been trying to do this for the best
part of today but i have got no where! I have two arrays both have 161 elements, each has a list of filenames on my server (images) now the idea here is to take the image name from array 1 copy it and re-name it to that of array 2. for example $array_A[$i] = 123097 $array_B[$i] = 684547 I need to keep the original image as well as duplicate it & rename. Many thanks
Use the manual, Luke. http://www.php.net/manual/en/function.copy.php -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#170757) next »