El nuevo host tendrá el PHP.INI configurado de otra manera. De todos modos, no entiendo cómo hacías llegar las variables desde el formulario hasta registro.php
No hace falta que pongas $_POST en todas las variables, solo en el formulario
Cita: <form action="registro.php" method="POST">