Re: cooke problema
| From: | lmc | Date: | Tue, 24 Jun 2003 18:40:15 +0000 |
| Subject: | Re: cooke problema | ||
| References: | 1 2 3 4 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-37756@lists.php.net to get a copy of this message | ||
Te lo esta diciendo el mismo WARNING.
En la linea 2 de tu script estas generando algun output, cosa que NO debes
hacer si estas usando cookies.
http://www.php.net/manual/es/function.setcookie.php
luisMCarella
php@datcom.com.ar
----- Original Message -----
| Me sale el siguiente error al poner una cooke
|
| Warning: Cannot add header information - headers already sent by (output
| started at /www/html/index.php:2) in /www/html/index.php on line 35
|
|
| ya le he checado, y nada, anteriormente si funcionaba, pero de momento
nada,
| la cooke esta asi:
|
| setcookie ("cuenta","Counted!",time()+604800);
|
| cualquier comenterio es bien recibido
| gracias