Хороним идиотские ошибки в проверках и инклюдах.
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
// magic идентификацыя
|
||||
//if (rand(1,2)==1) {
|
||||
|
||||
if ($_SESSION['uid'] == null) {
|
||||
if (empty($_SESSION['uid'])) {
|
||||
header("Location: index.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
$target=$_POST['target'];
|
||||
$tar = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;"));
|
||||
$magictime=time()+259200;
|
||||
|
||||
Reference in New Issue
Block a user