Re: [PHP] Newbie error with cookies and headers already declared

2004-05-21 Thread Stephen Lake
All headers have to be sent before any output is sent to the browser. "Chris W. Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] GodFoca on Friday, May 21, 2004 1:29 PM said: > Warning: Cannot add header information - headers already sent by > (ou

RE: [PHP] Newbie error with cookies and headers already declared

2004-05-21 Thread Chris W. Parker
GodFoca on Friday, May 21, 2004 1:29 PM said: > Warning: Cannot add header information - headers already sent by > (output started at /home/tiempodemaria/main.php:3) in > /home/tiempodemaria/main.php on line 11 [snip] > Does anybody knows what's going on? I don't u

Re: [PHP] Newbie error with cookies and headers already declared

2004-05-21 Thread Daniel Clark
Try putting your below setting the cookie. > I'm getting this error: > > Warning: Cannot add header information - headers already sent by (output > started at /home/tiempodemaria/main.php:3) in /home/tiempodemaria/main.php > on line 11 > > With this code in "main.php": > > > define

Re: [PHP] Newbie error with cookies and headers already declared

2004-05-21 Thread Kevin Murphy
I'm a newbie to PHP too, but I think its the HTML tag. Move it down below the PHP and see what happens. -- Kevin Murphy Web Designer - Stubborn Donkey Productions www.stubborndonkey.com On May 21, 2004, at 1:28 PM, GodFoca wrote: I'm getting this error: Warning: Cannot add header informat