Update register.php

Same problem like checklogin.php