Ver Mensaje Individual
  #3 (permalink)  
Antiguo 21/04/2009, 22:27
joivan
 
Fecha de Ingreso: abril-2009
Mensajes: 6
Antigüedad: 15 años, 9 meses
Puntos: 0
Respuesta: Warning: session_start() [function.session-start]:

Gracias pero mi problema persiste no entiendo q pasa

mando las lineas a las q hace referencia:

Linea 9:
Código HTML:
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> 
Código PHP:
<?php
if (!empty($_POST['btn1']) )
{
$usuario=$_POST['txtuser'];
$pswd=$_POST['txtpswd'];
include(
'bin/conectar.php');
$Xuser=mysql_query("SELECT ci FROM usuario where usuario='$usuario' and clave='$pswd' ");
             while(
$vector mysql_fetch_array($Xuser))
                {
                
$xci[]=$vector["ci"];
                }
    
$contador=count($xci);
    if (
$contador==)
{
$msg="<div align='center' class='titulo'> Ud. no esta registrado o bien  ingreso un nombre de usuario o clave incorrecto </br>gracias por su compresion </div>";
echo 
$msg;
}
else{
    include(
'web/lib1.php');
    
registrodeingreso($xci[0]);
    
session_start();
    
$_SESSION["ci"]= $xci[0];              // LINEA 156
    
header ("location:home.php");
    }
}
?>