[thelist] Use PHP for content?

MarsHall evolt at marsorange.com
Thu Nov 21 16:40:01 CST 2002


On Thursday, Nov 21, 2002, at 16:16 US/Central, Ray Hill wrote:
> The reason that I use PHP even with static content is site
> design...SNIP...if you're
> including a header and footer file into every page, it makes it
> incredibly
> easy to change the look and feel of a site at will.

Wouldn't server-side includes [SSI] do this without the overhead of the
PHP interpreter?


> An example of this is the "printable version" link I use on my site
> (example: http://www.prydain.com/resume/).

And a print stylesheet in CSS let you do this without requiring your
user to specifically select a printable version (or you to build a
custom program for to generate them):

	http://www.alistapart.com/stories/goingtoprint/


Just suggesting some hammers for those nails ;)

Mars




More information about the thelist mailing list