Re: Re: cvs: php4 / ChangeLog NEWS php.ini-dist php.ini-recommended

From: Date: Mon, 29 Apr 2002 09:39:13 +0000
Subject: Re: Re: cvs: php4 / ChangeLog NEWS php.ini-dist php.ini-recommended
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11518@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote:
Ok. What would be the nicer syntax for allowing portable way writing XML tag? Other than this one, <?php echo '<?xml version="1.0" ?>'; ?>
You can use a meta tag, but in general I see nothing wrong with that particular way. You could also readfile('xml_header.txt') of course.
What about about simply switching off short tags if a file starts with an "<?xml " header? -- Hartmut Holzgraefe hartmut@six.de http://www.six.de/ +49-711-99091-77

« previous php.cvs (#11518) next »