Fix require_once and function on get connect.php