Ad-Code in PHP Pages

Status
Not open for further replies.

ghettoc401

New Member
Messages
33
Reaction score
0
Points
0
I have an ad-enhanced package and i need to add the code to my php pages. The problem is that i have like 50 php pages(non-php nuke pages) and i have php nuke ( I have already added the adcode to phpnuke). I wanted to know if there was some way that i can make the adcode appear in all of the php pages without manually adding it to all of them. If worse comes to worse, then i will just add them manually.

That brings me to my second help point, i searched and i never found an answer that works. How can i add the adcode to the php pages that i have? I tried adding <?php and ?> before and after the adcode.

Thanks in advance for any help that you can give! ;)
 

Chris Z

Active Member
Messages
5,603
Reaction score
0
Points
36
One question. Are all of these PHP files just individual ones that you run by themselves, or do you include these files in one big file (i.e. "index.php" or similar)?
 

ghettoc401

New Member
Messages
33
Reaction score
0
Points
0
not sure if i understand, but they are individual pages and there is a index.php. Maybe if i elaborate, it will be easier. One page might be eoclan.pcriot/stats/awards.php and another page might be eoclan.pcriot.com/stats/admin.php.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
The adcode shouldn't be in the PHP tags. If the page is PHP you want to escape the PHP tags and actually do this:
?>
adcode here
<?php
 
Status
Not open for further replies.
Top