<?php

file_put_contents('log.txt', print_r($_FILES, true));