Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/04/2007, 12:57
mvlsistemas
 
Fecha de Ingreso: mayo-2004
Mensajes: 903
Antigüedad: 19 años, 11 meses
Puntos: 4
Re: Usuarios con distinto nivel ¿Cómo?

Gracias a CLUSTER lo solucioné usando su autentificador y con un redireccionamiento según el nivel: <CODE><?php
require("aut_verifica.inc.php"); // incluir motor de autentificación.

switch($_SESSION['usuario_nivel']){
case "1":
header ("Location: lista_precios_aaa.php");
exit;
break;
case "2":
header ("Location: lista_precios_bbb.php");
exit;
break;
default:
header ("Location: $redir?error_login=5");
exit;
}
?> </CODE> es decir según el nivel acceden a cada área del site