I'm not sure how to word this so here is the code.

I am uploading an image and the form field name is "image".

echo 'Image name '.$image_name; // echo's image.jpg

$newimg = $image; // now to make it a new variable

echo 'this is the new name' .$newimg_name; // does not echo anything

I want to upload 3 images and have the same function process all three.

I notice that if I do.

echo $image; // this displays my temp location for the file
C:\WINDOWS\php575.tmp

and

echo $newimg; // this also displays my temp location for the file
C:\WINDOWS\php575.tmp which is the same as $image

I know that uploaded "file" has several variables associated with it but would like to just declare it as a new variable.

Thank you for the help . . . Im confused.