$_POST['username'], 'username_clean' => Sakura\Main::cleanString($_POST['username'], true), 'password_hash' => $pass[3], 'password_salt' => $pass[2], 'password_algo' => $pass[0], 'password_iter' => $pass[1], 'password_chan' => time(), 'email' => Sakura\Main::cleanString($_POST['email'], true), 'regdate' => time(), 'lastdate' => time(), 'lastunamechange' => time(), 'profile_data' => json_encode([]) ]; print_r($regData); exit; } ?>
username:
password:
email: