<?php header('Content-Type: text/html; charset=utf-8'); include "app.php"; $username = $_POST["username"]; $email = $_POST["email"]; $password = $_POST["password"]; $passwordAgain = $_POST["confirmPassword"]; $passwordMd5 = md5($password); $register = new connect(); $register->register($username, $email, $password, $passwordAgain, $passwordMd5);