[solved]: PHP Header Help [solved]: PHP Header Help
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[solved]: PHP Header Help

Started by zeroknowledge, February 20, 2004, 08:14:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zeroknowledge

Hello,
     I would like to add a php header to coppermine. What would be the best way of going about this? Is there a tutorial on this? I've searched both your site and google and can't I can't come up with anything I comprehend.

Thanks in advance for your help.

-Zero

moorey

theme.php for php stuff, template.html stuff. There are some "mods" that allows both of them to be intermixed/renamed.. generally workable, but not entirely recommended, but do give it a go though - you'd learn a lot :)

zeroknowledge

So adding this
http://partyornot.net/header.php

to this

http://www.partyornot.net/coppermine/

would require a mod? Do you happen to know what the "mods" name is?
Why wouldn't a include (sorry, I'm no programmer) type of statement work?

Thanks for the speedy reply above.

-Zero


zeroknowledge

Thanks so much for the help. I'll give it a shot and report back on how I do.

zeroknowledge

I wasn't able to get that "code" to work for me. I got a parse and a fatal error.

Parse error: parse error, expecting `','' or `';'' in /home/partyorn/public_html/coppermine/themes/black_widdow/theme.php on line 774

Fatal error: Call to undefined function: pageheader() in /home/partyorn/public_html/coppermine/index.php on line 439


I found this thread and tryed some of thier suggestions but it still doesn't work.

http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=701

Does anyone have any suggestions on what I should do?

P.S.- I was bright enough to get my background to work. That was easy.

-Zero

zeroknowledge

I got it to work. I'm not sure how but it works and that's whats important.

Thanks everybody for the help.