Update register.php

Updated for server...