
28.12.2009, 14:09
|
|
Новичок
Регистрация: 30.10.2009
Сообщений: 21
С нами:
8700457
Репутация:
24
|
|
Код:
http://wow.teletoria.ru/ACP2/index.php?modul=charedit
Не могу найти где Проделать Инъекцию ((
Код:
Notice: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and (`account` = 3181) and (`online` = 0) LIMIT 1' at line 1 in /var/www/html/ACP2/modules/charedit.php on line 6
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/ACP2/modules/charedit.php on line 7
Вот код
PHP код:
if (mysql_num_rows($res) == 0) { echo 'Not select character!'; }
else {
$cres = mysql_fetch_array($res);
if (($cres['race'] == 1) or ($cres['race'] == 3) or ($cres['race'] == 4) or ($cres['race'] == 7) or ($cres['race'] == 11))
$char_race = 1; //Alliance
if (($cres['race'] == 2) or ($cres['race'] == 5) or ($cres['race'] == 6) or ($cres['race'] == 8) or ($cres['race'] == 10))
$char_race = 2; //Horde
$money = $cres['money'];
$char_lvl = $cres['level'];
|
|
|