[PHP] Duplicate Images

2003-11-23 Thread Erin
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


R

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Duplicate Images

2003-11-23 Thread John Nichel
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php