[Solved]: How would one include a different header? [Solved]: How would one include a different header?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: How would one include a different header?

Started by mulesnx, April 06, 2004, 07:55:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mulesnx

I would like to put my site's header above the gallery.  I am kind of new at this, and tried something but there was an error saying that the headers were already sent out!  


Where would I include a php file for a gnarley header?

Joachim Müller

if you need to include a php file, go to http://coppermine.sourceforge.net/faq.php?q=customHeader#customHeader

But the error you got "Cannot add header information - header was already sent ... in" usually means that you tried to send data before the http header (cookies and such stuff) was sent - see http://coppermine.sourceforge.net/faq.php?q=commonPHP errors#commonPHP errors
Make sure you don't include another <head>...</head> area.

GauGau

mulesnx

it worked!  I had to remove the "static" from the third line, but it worked!

Thanks