Username:


Password:


[ 'method' => 'POST', 'header' => 'authorization: Bearer '.ACCESS_TOKEN, 'content-type: application/json' ] ]; $context = stream_context_create($options); $registration = file_get_contents($url, false, $context); if ($registration === false) { ?> Registration for ""unsuccessful. Please try again later. Registration successful. To start using it please install a Matrix client like Element

Server: imninja.net
Username:
Password: * * * * *

For password recovery purposes it's recommended to set an email address after you successfully logged on to your new Matrix account.

Also consider using a password manager.
$_POST['nonce'], username => $_POST['username'], password => $_POST['password'] admin = false ]; $content->mac = hash_hmac('sha1', $content->nonce."\s".$content->username."\s".$content->password."\s".$content->admin $options = [ 'http' => [ 'method' => 'POST', 'header' => 'authorization: Bearer '.ACCESS_TOKEN, 'content-type: application/json', 'content' => json_encode($content); ] ]; $context = stream_context_create($options); $result = file_get_contents(REGISTRATION_API_URL, false, $context); if ($result === FALSE) { # something with errors } else { # success } } else { echo 'Invalid URL'; } ?>