Re: <?xml version="1.0" encoding="UTF-8>

From: Date: Mon, 23 Jun 2003 17:25:11 +0000
Subject: Re: <?xml version="1.0" encoding="UTF-8>
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152518@lists.php.net to get a copy of this message
I believe this is because the PHP engine thinks that the "<?xml" is a PHP opening tag. 1. Turn off short PHP tags (short_open_tag in php.ini) -OR- 2. Use this instead: <?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?> Joseph "Doug Essinger-Hileman" <greypilgrim@interior-castle.org> wrote in message news:3EF6FF20.6427.35FE07E@localhost... > > When I include <?xml version="1.0" encoding="UTF-8"?> in my html > code, I get a parse error. The version is 4.1.2; phpinfo() reports > that XML support is turned on. Can anyone help with this? > > Doug > >

« previous php.general (#152518) next »