Exemple #1
0
<?php

include "my_sql_utils.php";
$params = array(str_post('user_name'), str_post('room_name'));
exec_mysql_proc("leave_room", $params);
<?php 
include "my_sql_utils.php";
$params = array(str_post('name'));
exec_mysql_proc("update_last_visit", $params);
Exemple #3
0
<?php 
include "my_sql_utils.php";
$q = $_POST['text'];
$text = html_entity_decode($q, ENT_NOQUOTES, 'UTF-8');
$params = array(str_post('user_name'), str_post('room_name'), "'" . $text . "'");
exec_mysql_proc("add_post", $params);
Exemple #4
0
<?php 
include "clean_users.php";
$params = array(str_post('name'), str_post('password'), str_post('ip'));
exec_mysql_proc("add_user", $params);
Exemple #5
0
<?php 
include "my_sql_utils.php";
$params = array(str_post('host_name'), str_post('room_name'));
exec_mysql_proc("add_room", $params);