io farei anche
<form action="register.php" method="post" enctype="multipart/form-data">