I\'m trying to require() my template for rss feed in php. Unfortunately I need to have shorthand tags enabled on server I\'m working with.
require()
I have to start m
For XML files, the <?xml version="1.0" encoding="UTF-8" ?> is optional (and actually the default like you write it), so you can just remove it and therefore could fix the problem for this case.
<?xml version="1.0" encoding="UTF-8" ?>
You could <?php echo '<?xml version="1.0" encoding="UTF-8" ?>'; ?>
<?php echo '<?xml version="1.0" encoding="UTF-8" ?>'; ?>