Is there a way to add dynamic php content in the 'out' template?

What I amy trying, unsuccessfully, is to add a simple include

<?php include($DOCUMENT_ROOT . "/something.php"); ?>

Any advise would be appreciated.