If this is your actual call:
<? require ("photos_placement_simple.inc"); ?>
Then you are missing the "php" portion of your opening tag.
<?php require ("photos_placement_simple.inc"); ?>