Necesito ayuda
Agradeceré muchísimo a quien pueda corregirme esta función...
<?php session_start(); if($_SESSION['autentificado']!="n1"){header("Location:error.php?".SID);exit();
if($_SESSION['autentificado']!="n2"){header("Location:registro.php?".SID);exit();
}}
No recuerdo como hacerla,<los que necesito es que N1 vaya a error.php y N2 a la página que se pulse..
MUCHAS GRACIAS.........
<?php session_start(); if($_SESSION['autentificado']!="n1"){header("Location:error.php?".SID);exit();
if($_SESSION['autentificado']!="n2"){header("Location:registro.php?".SID);exit();
}}
No recuerdo como hacerla,<los que necesito es que N1 vaya a error.php y N2 a la página que se pulse..
MUCHAS GRACIAS.........