Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/11/2006, 05:15
Avatar de urgido
urgido
 
Fecha de Ingreso: febrero-2005
Mensajes: 2.351
Antigüedad: 19 años, 2 meses
Puntos: 25
intenta reemplazar:
Código PHP:
if (mysql_num_rows($rs)!=0){ 
por
Código PHP:
if(mysql_num_rows($rs) > 0){ 
Código PHP:
if(mysql_num_rows($rs) > 0){
$autentificado "SI";
header ("Location: rutaphp");
}
else {
$autentificado "NO";
header("Location: formulariodeacceso");

lo de las sesiones:
Código PHP:
session_start();
session_register("autentificado"); 
intenta ponerlo solo en el archivo: rutaphp Para un mejor control.

Saludos
__________________
Hospedaje Web al mejor costo!