commit 8f4a4baf0d3627ff3df70a6799816d7c52bf67cf Author: lub Date: Mon Jul 28 12:36:45 2025 +0200 init diff --git a/index.php b/index.php new file mode 100644 index 0000000..75726aa --- /dev/null +++ b/index.php @@ -0,0 +1,77 @@ + + + +I M NINJA | Registration + + + +
+ + + 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.
+ + [ + 'method' => 'POST', + 'header' => 'authorization: Bearer '.ACCESS_TOKEN, + 'content-type: application/json' + ] + ]; + $context = stream_context_create($options); + file_get_contents($url, false, $context); +} else { + echo 'Invalid URL'; +} +?> + +