Problem with XML tags and short_open_tag=On in php.ini
Posted: 26 Jun 2007, 17:50
Hi,
I have some applications that I use to make web pages that creates xml tags of the form or similar.
Since in /etc/php4/apache2/php.ini this tag is interpreted as PHP and an error message is shown when I access these pages.
When I tried to set the web admin pages does not work since some of the included tags are only <? and not <?php. Thus I cannot use this setting and without it I cannot use my normal web pages. There are quite a few to migrate from my old Ubuntu server.
Is there any hope that the Bubba PHP code in the next release will only include full PHP tags?
Anyone has a tip on how I can solve this without having to edit all my existing pages? I know how to do this but it is a lot of pages to edit...
Is there anything I have missed?
/BubbatheHut
I have some applications that I use to make web pages that creates xml tags of the form
Code: Select all
<?xml version="1.0"?>
Since
Code: Select all
short_open_tag=on
Code: Select all
Parse error: parse error, unexpected T_STRING in /var/www/html/something/index_2.html on line 1
Code: Select all
short_open_tag=Off
Is there any hope that the Bubba PHP code in the next release will only include full PHP tags?

Anyone has a tip on how I can solve this without having to edit all my existing pages? I know how to do this but it is a lot of pages to edit...
Is there anything I have missed?
/BubbatheHut