Preventing direct access to register.php. Thank you to Fordyce.