Gitea 1 year ago
parent
commit
3eb8c01abf
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      chat.php

+ 4
- 2
chat.php View File

@@ -1,12 +1,14 @@
<?php

var_dump ($_POST);

require_once './modules/chat.mod.php';


$chat = new Chat;

$user_id = $_POST['id'];
$chat_message = $_POST['text'];
$user_id = $_GET['id'];
$chat_message = $_GET['text'];

$chat -> send ($user_id, $chat_message);


Loading…
Cancel
Save