17 lines
487 B
PHP
17 lines
487 B
PHP
<?php
|
|
$mysql = mysql_connect('localhost','old-dark','7VnpeGCEeBV4f6zF');
|
|
mysql_select_db ('ccombat', $mysql);
|
|
mysql_query('SET NAMES CP1251');
|
|
|
|
if (!$google) {
|
|
foreach ($_POST as $k=>$v) {
|
|
$_POST[$k] = htmlspecialchars(mysql_real_escape_string($v), NULL, "");
|
|
}
|
|
foreach ($_GET as $k=>$v) {
|
|
$_GET[$k] = htmlspecialchars(mysql_real_escape_string($v), NULL, "");
|
|
}
|
|
foreach ($_REQUEST as $k=>$v) {
|
|
$_REQUEST[$k] = htmlspecialchars(mysql_real_escape_string($v), NULL, "");
|
|
}
|
|
}
|