So, this pleases me enough to post it.

dynamic buffer insertion with PHP

Needed to quickly add a notice to every page on a client’s site where there was a single include, but not single-included layout pages (teachers, *sigh*).

I’ve never messed with output buffer stuff before, so this was just sort of surprising to me. It’s insanely useful.

Only took about a minute to code, and two to deploy.