Re: unexpected T_STRING parse error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 10 Oct 2006 09:18:18 +0200, Ilaria De Marinis <demarinis@xxxxxxxxx> 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@xxxxxxxxx
> ------------------------------------------------
> 
> -- 
> 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux