ユーザのパスワード認証のための DB 追加

This commit is contained in:
2023-07-01 08:28:52 +09:00
parent 3eb8c01abf
commit 69194b550a
4 changed files with 65 additions and 10 deletions
+7 -5
View File
@@ -1,14 +1,16 @@
<?php
var_dump ($_POST);
require_once './modules/chat.mod.php';
$chat = new Chat;
$user_id = $_GET['id'];
$pass = $_GET['pass'];
$chat_message = $_GET['text'];
$chat -> send ($user_id, $chat_message);
$chat = new Chat;
$chat -> user_id = $user_id;
$chat -> text = $chat_message;
$chat -> insert ();