BTW the file was saved as index.php thus the form action.
"Techris" wrote in message
news:12c21eu1d0hqhef@corp.supernews.com...
> Can anyone tell me why this isn't working.. I am sure its just something
> stupid but I can't see it yet.
>
>
>
> function uploadpic($pic){
> foreach($pic as $value){
> copy ($_FILES['$value']['tmp_name'], $_FILES['$value']['name'])
> or die ("Could not copy");
>
> echo "
> \"".$_FILES['$value']['name']."\"