Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/04/2006, 11:44
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
La funcion es header()

Código PHP:
<?php
$rootName 
get_settings_value("ROOTNAME""""");
    if ((
$userName == $rootName) && ($pass == $rootName)) {
        
header("Location: ../system.php?sec=true");
    } else {
        
header("Location: ../system.php");
    }
    die();
} else {
    
header("Location: ../avilalink.html?error=login");
    die();
}
?>