Gossamer Forum
Home : Products : Gossamer Links : PHP Front End :

Dynamic php in static pages

Quote Reply
Dynamic php in static pages
Perhaps that has been covered before.

Is it possible to inlcude dynamic elements in the static output pages.

For example, on a 10,000 page site it would be nice bot to have to build the whole lot again if for example I changed the adsense code.

eg simple changing a file on the server that gets calle as an SSI.

<?php include("/usr/etc/etc/path_to_document/adsence") ?>

But during the build that will be interpreted and run, is is possible or safe to to comment that out in some way?

\<\?php include(\"/usr/etc/etc/path_to_document/adsence\") \?\>

Thats a wild guess by the way, escpaing characters is a nightmare, at leats it is not VB with is millions of """"""""" :)
Subject Author Views Date
Thread Dynamic php in static pages ukseo 9457 Nov 2, 2004, 2:49 AM
Post Re: [ukseo] Dynamic php in static pages
Andy 9238 Nov 2, 2004, 4:01 AM
Thread Re: [ukseo] Dynamic php in static pages
ukseo 9248 Nov 3, 2004, 2:43 AM
Post Re: [ukseo] Dynamic php in static pages
Andy 9247 Nov 3, 2004, 3:03 AM