Trying to use PHP inside Perl isn't going to work as you'd think, is it? I'd suggest either including the results of the script into the PHP, or getting Perl to read in the PHP header, but this will be bad if someone embeds some PHP code within it at a later date.
--
RatArsed