Forum Moderators: coopster

Message Too Old, No Replies

Inserting adsense code into 250 pages

Can I do this with a php page template?

         

Lovejoy

12:47 am on Dec 22, 2006 (gmt 0)

10+ Year Member



Hi All,

I've purchased a text to html program that automatically coverts all my text files to html webpages within a template, but the only problem is how do I insert my adsense code into all 250 pages? I've seen articles regarding PHP includes for page templates , but I'm not sure how this would work inserting my code.

Lovejoy

eelixduppy

3:47 am on Dec 22, 2006 (gmt 0)



Maybe auto_prepend_file [us2.php.net] is something you want to look into?

Or you can always go the dynamic-page route.

Vladd44

1:37 pm on Dec 24, 2006 (gmt 0)

10+ Year Member



Why not just add the adsense code to the template itself?

eelixduppy

2:48 pm on Dec 24, 2006 (gmt 0)



Hey, Vladd44, it seems I missed that detail :) That would work.

And Welcome to WebmasterWorld (a little late, but better late than never) ;)