Re: output started
| From: | jm aribau | Date: | Thu, 20 Nov 2003 10:52:18 +0000 |
| Subject: | Re: output started | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-42840@lists.php.net to get a copy of this message | ||
Creo que tendrias que usar para registrar las variables esto:
$_SESSION[login];
Josep Ma. Aribau Cano
jm@infodos.com
www.infodos.com
----- Original Message -----
From: "Jose Minera" <jminera@keko.com.ar>
To: <lista@phpes.com>
Sent: Thursday, November 20, 2003 2:25 AM
Subject: [PHP-ES] output started
> alguien podria decirme por que esta advertencia me aparece en un servidor
> si y en otro no?
> creo que tiene que ver con empezar una sesion y antes imprimir algo
>
> echo 'dfdf';
> session_start();
> session_register('login');
>
> Warning: Cannot send session cookie - headers already sent by (output
> started
> at /home/virtual/site148/fst/var/www/html/principal/mostrar.php:18)
> in /home/virtual/site148/fst/var/www/html/bd/open.inc on line 38
>
> pero no trabajo con cookies ...
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com