You can't have any output before you call header. Something in main.php on line 41 is causing some output that breaks the header() call. Be sure you don't have any whitespace at the end of included files.
---John Holmes... ----- Original Message ----- From: "savaidis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 20, 2002 4:39 AM Subject: RE: [PHP] refresh (part of) a page? > I look and I search everything, it looks I'm reaching to a wall :) > I used Netscape, I uploaded to my internet server, still the same. > Plus, I cannot find "header already send" at manual. > > The error message is : > Warning: Cannot add header information - headers already sent by (output > started at /mpla-mpla/main.php:41) in /mpla-mpla /main.php on line 83 > > Note that I use "header()" without problem on another php script on the same > server.(to redirect from a "parcked" domain) > > Someone could help? > > Thanks > > Makis > > > -----Original Message----- > > From: Jason Wong [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, May 19, 2002 3:35 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [PHP] refresh (part of) a page? > > > > > > On Sunday 19 May 2002 18:03, savaidis wrote: > > > I want to refrech a part of my page (or the whole page) using PHP. > > > Periodically, using a time delay. > > > Should I use frames? > > > > You cannot refresh part of a page without resending the whole > > page. You can > > use frames. > > > > > Also I tried to use "header (...)" calling the same page with different > > > name (and then back to the same page) but I got the warning: > > > "header already send". > > > > *Read* the manual and see what it says about header() and "header already > > send". > > > > -- > > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > > Open Source Software Systems Integrators > > * Web Design & Hosting * Internet & Intranet Applications Development * > > > > /* > > A great many people think they are thinking when they are merely > > rearranging their prejudices. > > -- William James > > */ > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php