PDA

View Full Version : Help with a little something...


version2
20 Feb 2001, 00:49
Ok...posted all this in the wrong place...let me copy it over and give you guys and gals a whack at it...

Trying to hardcode an include in the index.php for a stats mod...

anytime I include that before this line...

eval("dooutput(\"".gettemplate('forumhome')."\");");

in the index.php ... it works...but my "title" goes away..I get untitled document up at the top.

I dont know where I am going wrong on that one..

20 Feb 2001, 01:26
What variables are you playing with in your mod?

20 Feb 2001, 01:43
Originally posted by wluke
What variables are you playing with in your mod?

hmm...sorry...wrong wording I think..not exactly a mod. Its a call to a script which tracks usage. But I only want it to track the index...nothing else..which throws PHPINCLUDE out the window.

Perhaps i am going about this all wrong.

20 Feb 2001, 02:20
Ok..thought i had it..but no go. Everytime i throw that include in..it takes my page title away. That is messed up.

Cant figure it out! AHHH!

21 Feb 2001, 13:32
Originally posted by version2
Ok..thought i had it..but no go. Everytime i throw that include in..it takes my page title away. That is messed up.

Cant figure it out! AHHH!


Hmmm..


*bump*

21 Feb 2001, 14:47
The only way it would get rid of the title is if you are setting $bbtitle to nothing. That is why I asked what variables you were playing with.

Maybe if we saw the code you were trying to add or call it would be easier to help.

04 Mar 2001, 11:13
Ok..lets try it a different way...

phpinclude template:

include ('http://www.mysticwicks.com/cgi-bin/logitpro/logitpro.cgi?count');


I put that line in...works fine until you get to post level then it spits up a warning in the header saying it cannot resend header information, yada, yada.

Any ideas on this?