Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,120 members, 7,818,360 topics. Date: Sunday, 05 May 2024 at 01:27 PM

How Do I Solve This Header Output Problem - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / How Do I Solve This Header Output Problem (865 Views)

How Can I Solve This Issue Of Which I'm Experiencing In My G Analytics Dashboard / [PHP] [HOWTO] Send 'POST' Data Through Header ?? / How To Add Header Image To Blogger (2) (3) (4)

(1) (Reply)

How Do I Solve This Header Output Problem by onyengbu1(m): 11:03am On Jan 27, 2010
The situation is:
I included  page2.php  into page1.php.

Page1.php has no headers output[i]ed[/i] in it and also has not even a single HTML tag in it, but page2.php does.
However, i get this error:

Warning: Cannot modify header information - headers already sent by (output started at /home/blah/public_html/blah/page1.php:1) in /home/blah/public_html/blah/page2.php on line 62

. . . . line 62 in page2 is where I did the header stuff.

NB: I did not output the headers in page2.php after any HTML tag.

How do I solve this headache?
Re: How Do I Solve This Header Output Problem by onyengbu1(m): 11:21am On Jan 27, 2010
Sorry guys.

I solved it.

I just applied common sense which have eluded me since yesternight.

I simply made page1.php to process the request from page2.php.

(1) (Reply)

. / Help! / Need Help In Website Design, Development,training,programming And The Likes

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 5
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.