-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpost.php
More file actions
21 lines (20 loc) · 693 Bytes
/
Copy pathpost.php
File metadata and controls
21 lines (20 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/* Originally from http://code.jenseng.com/jenChat/ modified to use AJAX by Shawn Van Every */
require_once('init.php');
// echo "reTag_NodoID: " . $_SESSION['reTag_NodoID'];
// if(!isset($_SESSION['notjabber_UserID']))
// exit;
//
/* make sure something was actually posted. */
// if($_SERVER['REQUEST_METHOD'] == 'GET'){
// /* post the message. */
$chingado = $_SESSION['reTag_NodoID'];
$chingado2 = date("YmdHis", time());
$chingado3 = $_GET['message'];
mysql_query("INSERT INTO reTag_Messages(NodoID,Posted,Message)
VALUES(
'$chingado','$chingado2','$chingado3')");
// exit;
// }
echo "\n".$_GET['message'];
?>