Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/02/2006, 12:26
Darth Pacus
 
Fecha de Ingreso: enero-2006
Mensajes: 25
Antigüedad: 18 años, 3 meses
Puntos: 0
Problemas Al Inicio De Sesion

Que tal, tengo el siguiente script:
carrito_lib
//------------------------------------------------------------------
session_start();
$rfcf = file("miarchivo.txt"); /* file passed from the page of the site */
$rfcm = $rfcf[0];
if (!isset($_SESSION[$rfcm])){
$_SESSION[$rfcm] = new carrito();
//------------------------------------------------------------------
y lo llamo de esta manera
<body>
<? include "../carrito_php/lib_carrito.php";?>
//-----------------------------------------------------------------
al parecer todo esta bien pero me da el siguiente el error,


Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at c:\Inetpub\wwwroot\sistema\cliente2.php:9) in c:\Inetpub\wwwroot\carrito_php\lib_carrito.php on line 59

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at c:\Inetpub\wwwroot\sistema\cliente2.php:9) in c:\Inetpub\wwwroot\carrito_php\lib_carrito.php on line 59:





que puede ser que esta mal