Помощь по скриптам | Проблема
Выскакивает ошибка
Fatal error: Call to undefined function session_register() in /home/usr/data/foxvar/kazino.foxvar.aux.su/lobby/header.php on line 5
Вот код
<?
Error_Reporting(E_ALL & ~E_NOTICE);
unset($l);
session_start();
session_register($l);
if(!isset($l)){
header("Location: login.php");
exit;
}
if ($st == "exit"){
unset($l);
session_destroy();
echo "<script language=\"JavaScript\">location.href=\"../index.php\";</script>";
}
include ("../setup.php");
include ("../fun.php");
$row=mysql_fetch_array(mysql_query("select * from users where login='$l'"));
$conf=mysql_fetch_array(mysql_query("select * from seting"));
С меня +
Fatal error: Call to undefined function session_register() in /home/usr/data/foxvar/kazino.foxvar.aux.su/lobby/header.php on line 5
Вот код
<?
Error_Reporting(E_ALL & ~E_NOTICE);
unset($l);
session_start();
session_register($l);
if(!isset($l)){
header("Location: login.php");
exit;
}
if ($st == "exit"){
unset($l);
session_destroy();
echo "<script language=\"JavaScript\">location.href=\"../index.php\";</script>";
}
include ("../setup.php");
include ("../fun.php");
$row=mysql_fetch_array(mysql_query("select * from users where login='$l'"));
$conf=mysql_fetch_array(mysql_query("select * from seting"));
С меня +
Froulette , <?
Error_Reporting(E_ALL & ~E_NOTICE);
unset($l);
session_start();
session_register($l);
if(!isset($l)){
header("Location: login.php");
exit;
}
if ($st == "exit"){
unset($l);
session_destroy();
echo "<script language=\"JavaScript\">location.href=\"../index.php\";</script>";
}
include ("../setup.php");
include ("../fun.php");
$row=mysql_fetch_array(mysql_query("select * from users where login='$l'"));
$conf=mysql_fetch_array(mysql_query("select * from seting"));
так попробуй ..
Error_Reporting(E_ALL & ~E_NOTICE);
unset($l);
session_start();
session_register($l);
if(!isset($l)){
header("Location: login.php");
exit;
}
if ($st == "exit"){
unset($l);
session_destroy();
echo "<script language=\"JavaScript\">location.href=\"../index.php\";</script>";
}
include ("../setup.php");
include ("../fun.php");
$row=mysql_fetch_array(mysql_query("select * from users where login='$l'"));
$conf=mysql_fetch_array(mysql_query("select * from seting"));
так попробуй ..
ToRRnaDo (19.06.2015 в 15:40)
Froulette , <?
Error_Reporting(E_ALL & ~E_NOTICE);
unset($l);
session_start();
session_register($l);
if(!isset($l)){
header("Location: login.php");
exit;
}
if ($st == "exit"){
unset($l);
session_destroy();
echo "<script language="JavaScript">location.href="../index.php";</script>";
}
include ("../setup.php");
include ("../fun.php");
$row=mysql_fetch_array(mysql_query("select * from users where login='$l'"));
$conf=mysql_fetch_array(mysql_query("select * from seting"));
так попробуй ..
Froulette , <?
Error_Reporting(E_ALL & ~E_NOTICE);
unset($l);
session_start();
session_register($l);
if(!isset($l)){
header("Location: login.php");
exit;
}
if ($st == "exit"){
unset($l);
session_destroy();
echo "<script language="JavaScript">location.href="../index.php";</script>";
}
include ("../setup.php");
include ("../fun.php");
$row=mysql_fetch_array(mysql_query("select * from users where login='$l'"));
$conf=mysql_fetch_array(mysql_query("select * from seting"));
так попробуй ..
нет не идёт
5 строку удали и скинь сюда код ошибки
Адский (19.06.2015 в 15:43)
5 строку удали и скинь сюда код ошибки
5 строку удали и скинь сюда код ошибки
Белая страница
Froulette (19.06.2015 в 15:47)
Адский (19.06.2015 в 15:43)
5 строку удали и скинь сюда код ошибки
Белая страница
Адский (19.06.2015 в 15:43)
5 строку удали и скинь сюда код ошибки
Белая страница
Где то в файле реги что то не так