Display the details of the uploaded file: printf(”Uploaded
Display the details of the uploaded file: printf(”Uploaded File Details
“); printf(”Name: %s
“, $HTTP_POST_FILES[”userfile”][”name”]); printf(”Temporary Name: %s
“, $HTTP_POST_FILES[”userfile”][”tmp_name”]); printf(”Size: %s
“, $HTTP_POST_FILES[”userfile”][”size”]); printf(”Type: %s
“, $HTTP_POST_FILES[”userfile”][”type”]); Copy the uploaded file to the C:temp directory: if (copy($HTTP_POST_FILES[”userfile”][”tmp_name”], “c:/temp/”.$HTTP_POST_FILES[”userfile”][”name”])) { printf(”File successfully copied“); } else { printf(”Error: failed to copy file“); } ?>