示例#1
0
<?php

include "my_sql_utils.php";
$params = array(str_post('user_name'), str_post('room_name'));
exec_mysql_proc("leave_room", $params);
示例#2
0
<?php 
include "my_sql_utils.php";
$params = array(str_post('name'));
exec_mysql_proc("update_last_visit", $params);
示例#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);
示例#4
0
<?php 
include "clean_users.php";
$params = array(str_post('name'), str_post('password'), str_post('ip'));
exec_mysql_proc("add_user", $params);
示例#5
0
<?php 
include "my_sql_utils.php";
$params = array(str_post('host_name'), str_post('room_name'));
exec_mysql_proc("add_room", $params);