Привет, Гость!
![]() |
![]() |
![]() |
![]() | ![]() ![]() |
вот файлы
Изм. тмр (01.12.2014 / 18:42) [1]
Прикреплённый файл:
php.zip (7.7 кб.)
Скачано: 437 раз
![]() | ![]() ![]() ![]() |
+
<?php
define('PROTECTOR', 1);
?>
Ахаха, а ниже
<?php
mysql_query("UPDATE `users` SET `ref` = 'not' WHERE `usr` = '$_GET[usr]'");
?>
Протектор блин зато дефайнед
.gif)
![]() | ![]() ![]() |
'root'@'localhost' (using password: NO) in /home/
u519892155/public_html/files/head.php on line 3
Warning: mysql_query(): A link to the server
could not be established in /home/u519892155/
public_html/files/head.php on line 3 Warning:
mysql_fetch_assoc() expects parameter 1 to be
resource, boolean given in /home/u519892155/
public_html/files/head.php on line 5 Warning:
mysql_query(): Access denied for user
'root'@'localhost' (using password: NO) in /home/
u519892155/public_html/files/head.php on line 30
Warning: mysql_query(): A link to the server
could not be established in /home/u519892155/
public_html/files/head.php on line 30 Warning:
mysql_fetch_array() expects parameter 1 to be
resource, boolean given in /home/u519892155/
public_html/files/head.php on line 31 Warning:
mysql_query(): Access denied for user
'root'@'localhost' (using password: NO) in /home/
u519892155/public_html/index.php on line 19
Warning: mysql_...
Читать все >>
![]() | ![]() ![]() |
'root'@'localhost' (using password: NO) in /
home/u519892155/public_html/index.php on line
53 Warning: mysql_query(): A link to the server
could not be established in /home/u519892155/
public_html/index.php on line 53 Warning:
mysql_fetch_assoc() expects parameter 1 to be
resource, boolean given in /home/u519892155/
public_html/index.php on line 54 Warning:
Division by zero in /home/u519892155/
public_html/index.php on line 59 Warning:
Division by zero in /home/u519892155/
public_html/index.php on line 59 Warning:
Division by zero in /home/u519892155/
public_html/index.php on line 59 Лидируют
Светлые: d 0%
Светлых: Warning: mysql_query(): Access
denied for user 'root'@'localhost' (using
password: NO) in /home/u519892155/
public_html/index.php on line 70 Warning:
mysql_query(): A link to the server could not be
established in /home/u519892155/public_html/
index.php on line 70 Warning: mysql_num_rows
() expects paramet...
Читать все >>
![]() | ![]() ![]() |
'root'@'localhost' (using password: NO) in /home/
u519892155/public_html/files/head.php on line 5
Warning: mysql_query(): A link to the server
could not be established in /home/u519892155/
public_html/files/head.php on line 5 Warning:
mysql_fetch_assoc() expects parameter 1 to be
resource, boolean given in /home/u519892155/
public_html/files/head.php on line 8 Warning:
mysql_query(): Access denied for user
'root'@'localhost' (using password: NO) in /home/
u519892155/public_html/files/head.php on line 34
Warning: mysql_query(): A link to the server
could not be established in /home/u519892155/
public_html/files/head.php on line 34 Warning:
mysql_fetch_array() expects parameter 1 to be
resource, boolean given in /home/u519892155/
public_html/files/head.php on line 35 Warning:
mysql_query(): Access denied for user
'root'@'localhost' (using password: NO) in /home/
u519892155/public_html/index.php on line 19
Warn...
Читать все >>
![]() | ![]() ![]() |
![]() | ![]() ![]() |
![]() | ![]() ![]() |
тмр, Ну ты даешья эту игру скачал здесь
![]() | ![]() ![]() ![]() |
Изм. Mike (02.12.2014 / 15:10) [1]
![]() | ![]() ![]() |
Пароль и юзера для базы правильные пропиши в настройкахВот смотри я прописал
<php?
defined('PROTECTOR') or die('Error: restricted access');
session_start();
$db_host = "localhost";
$db_user = "u519892155";
$db_table = "u519892155_11";
$db_pass = "пароль";
$connect = @ mysql_pconnect($db_host, $db_user, $db_pass) or die('cannot connect to server');
@ mysql_select_db($db_table) or die('cannot connect to db');
@ mysql_query("SET NAMES 'utf8'", $connect);
##################### ����� ������ � SQL ������� ################
@include('files/sql.php');
?>
Изм. тмр (02.12.2014 / 19:35) [1]
![]() | ![]() ![]() |

Изм. admin (02.12.2014 / 20:19) [1]
Прикреплённый файл: (21.31 кб.)
Скачано: 438 раз
![]() | ![]() ![]() |
Вот смотри я прописал
<php?
defined('PROTECTOR') or die('Error: restricted access');
session_start();
$db_host = "localhost";
$db_user = "u519892155";
$db_table = "u519892155_11";
$db_pass = <?php так вообще то правильно, а не <php?
![]() | ![]() ![]() |
<?php так вообще то правильно, а не <php?я поменял и вылезла ошибка
![]() | ![]() ![]() |