"; var_dump($_POST); foreach($_FILES as $file) { $n = $file['name']; $s = $file['size']; if (!$n) continue; echo "File: $n ($s bytes)"; }