Re: unexpected T_STRING parse error

From: Date: Tue, 10 Oct 2006 10:06:23 +0000
Subject: Re: unexpected T_STRING parse error
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-242893@lists.php.net to get a copy of this message
It's impossible for me to make this change. xml files are packaged in external modules. I can't manipulate them! Penthexquadium wrote:
On Tue, 10 Oct 2006 09:18:18 +0200, Ilaria De Marinis <demarinis@caspur.it> wrote:
Hi list, I got a php error in my apache log: PHP Parse error: parse error, unexpected T_STRING in /var/www/html/dummy/typo3conf/ext/direct_mail/locallang_tca.xml on line 1 This is line 1 of locallang_tca.xml file <?xml version="1.0" encoding="utf-8" standalone="yes" ?> I try to switch "short_open_tag" to off in php.ini, but I got a bad page visualization. In fact it's visible also source code while displaying pages. Any ideas? Thank in advance Ilaria -- ------------------------------------------------ De Marinis Ilaria Settore Automazione Biblioteche Phone: +3906-44486052 CASPUR - Via dei Tizii ,6b - 00185 Roma e-mail: demarinis@caspur.it ------------------------------------------------ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
<?php echo '<' . '?xml version="1.0" encoding="utf-8" standalone="yes" ?>'; // ... ?> -- Sorry for my poor English.
-- ------------------------------------------------ De Marinis Ilaria Settore Automazione Biblioteche Phone: +3906-44486052 CASPUR - Via dei Tizii ,6b - 00185 Roma e-mail: demarinis@caspur.it ------------------------------------------------

« previous php.general (#242893) next »