Switched 'GET' to 'POST'

This commit is contained in:
2023-09-02 15:22:36 -05:00
parent 1c1e322bd8
commit 3fbb6c99df
5 changed files with 15 additions and 15 deletions

View File

@@ -1,10 +1,10 @@
<?php
require_once 'db.inc.php';
$email = $_GET['email'];
$email = $_POST['email'];
$email = strval($email);
$username = $_GET['username'];
$password = $_GET['password'];
$username = $_POST['username'];
$password = $_POST['password'];
$id = rand(0,99999999);
$hash = password_hash($password,PASSWORD_BCRYPT);