Registering is fully transferred from MySQL to PDO
Upload is broken; pls fix. hahaha; changed upload to use PDO