Fix <?php ?> tag (not using short tags) and wrap script with CDATA