Re: outputting xml declaration

From: Date: Thu, 03 Jul 2003 08:23:23 +0000
Subject: Re: outputting xml declaration
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-153838@lists.php.net to get a copy of this message
This should not give you any error. Not even if short_open_tags are on as printed output is not parsed. What is the error message and what version of php are you running? It works for me (php 4.3.2). Steven Apostolou wrote:
Hello, The folowing code gives an error: print "<?xml version=\"1.0\"?>"; This is probably because I print a questionmark? How can I avoid that an error is generated? Besides it's not an error in the way that it gives an errorstring but it writes the output in the error_log of apache... Greetings,


« previous php.general (#153838) next »