Look for PHPTriad (actually, if memory serves me correctly, I think there's a post about it a couple down from this one, depending on your settings). It does the job and does it well.
[Edit]Okay, I was right, but it doesn't have a link.. phooey. I'm sure you can find it on Google... the URL had something with "geek" in it, as if that's saying much...[/edit]