Convert submitfile.html to index.php.

Also, fix validation errors.