session_is_registered()
Boa noite galera.
Ja acompanho o fórum a algum tempo e vem me ajudado bastante. hoje é meu primeiro post. onde não consegui resolver um problema no php.
apos alterar a versão do php do 5.3 para o 5.4 tive o seguinte problema
Fatal error: Call to undefined function session_is_registered() in /home/wrserver/public_html/index.php on line 8
<?
include "session_cidade.php";
?>
<?
session_start();
if((session_is_registered("cida") && session_is_registered("log"))){
$cidade = $_SESSION[cida];
}
else{
header("Location: index.php");
}
?>
<?
include "config.php";
include "conexao.php";
$pg = $_GET['pg'];
//$cidade = //$_GET[cidade];
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><? echo $tsite?></title>
</head>
<frameset rows="45,*" frameborder="no" border="0" framespacing="0">
<frame src="radio.php" name="topFrame" frameborder="no" scrolling="No" noresize="noresize" marginheight="45" id="radio" title="Topo" />
<br />
<frame src="pagina.php" name="mainFrame" id="mainFrame" title="Corpo" />
</frameset>
<noframes><body>
</body>
</noframes></html>
Algum nobre amigo poderia me ajudar .
Obrigado a todos
Discussão (2)
Carregando comentários...