Erro PHP
Eu Estou Usando o Codigo abaixo e Esta Gerando LOG de Erro: PHP Fatal error: Call to undefined function session_is_registered() in /home/hinordes/public_html/class.php on line 3
Oque Posso Fazer Pra Resolver Esse erro ?
<?
session_start();
if((session_is_registered("cida") && session_is_registered("log"))){
$cidade = $_SESSION[cida];
}else{
header("Location: index.php");
}
?><?
$pg = $_GET[pg];
if($pg == "area_vip" OR $pg == "vip_cad" OR $pg == "vip_alb" OR $pg == "vip_pro" OR $pg == "vip_proAdd" OR $pg == "vip_exclui_foto" OR $pg == "vip_fot" OR $pg == "areavip_fot" OR $pg == "vip_fot_con" OR $pg == "areavip_fot_con"){
require "verifica.php";
}
include "config.php";
$pg = $_GET[pg];
$cidade = $_GET[cidade];
?><?
if(empty($cidade)){
$cidade = "1";
}
if(empty($pg)) {
$pg = "principal";
}
if($pg == "principal"){
$celula_cor = "#FFFFFF";
}else{
$celula_cor = "#FFFFFF";
}
?>
<script language="JavaScript" type="text/JavaScript"><!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);//-->
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Guia Mais" />
<!-- Não exibir endereço-->
<script>
function hidestatus(){
window.status=''
return true
}
if (document.layers)document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT | Event.MOUSEDOWN | Event.MOUSEUP | Event.MOUSECLICK)
document.onmouseover=hidestatus
document.onmouseout=hidestatus
document.onmousedown=hidestatus
document.onmouseup=hidestatus
document.onmouseclick=hidestatus
</script>
<!-- /Não exibir endereço-->
</head>
<body>
<table width="100%" height="270" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top" background="images/page_body_bg.png"><table width="770" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><? include "cima.php"?>
</td>
</tr>
</table></td>
</tr>
</table>
<table width="770" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="117" height="3" valign="top" bgcolor="<?=$celula_cor?>"></td>
</tr>
<tr>
<td height="193" colspan="2" align="left" valign="top" bgcolor="#FFFFFF"><? include "query.php"?>
</td>
</tr>
</table>
<table width="100%" height="200" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="40" valign="top" background="images/page_footer_bg.png" bgcolor="#FFFFFF"><div align="center">
<table width="499" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="499" height="19"> </td>
</tr>
<tr>
<td height="19"> </td>
</tr>
<tr>
<td height="19"> </td>
</tr>
<tr>
<td height="43" align="center"><p>
<? include "visitas.php"?>
visitas desde 12/12/2012<br>
Copyright© 2008 -
<?=date(Y)?>
<?=$tsite?>
- Administrado por: <a href="[http://www.pwdt.net](http://www.pwdt.net)">www.pwdt.net</a><br>
<a href="class?pg=politica-de-privacidade">Política de Privacidade</a> </p>
</td>
</tr>
</table>
</div></td>
</tr>
</table>Discussão (1)
Carregando comentários...