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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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