Register

Make sure you updated your application id on line 8 of fusion.php.

<?php
$username = $_GET['username'];
$password = $_GET['password'];
$token = $_GET['token'];

if (empty($username)) { die("Username is empty!"); }
if (empty($password)) { die("Password is empty!"); }
if (empty($token)) { die("Token is empty!"); }

if (Fusion::Register($username, $password, $token)) {
    echo "Registered!";
}
else {
    echo "Invalid Details!";
}
?>

Last updated