フォームタグにアップロードファイルの拡張子設定 <form method="post" enctype="multipart/form-data"> <input type="file" name="avatar"> <button type="submit">送信する</button> <