Re: unexpected T_STRING parse error

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

 



On Tue, October 10, 2006 2:18 am, Ilaria De Marinis wrote:
> 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.

When you turn off short_open_tag, you also need to convert things like:

<? $x = 'foo';?>

into:

<?php $x = 'foo';?>

<?= ... ?> becomes <?php echo ... ?>



-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
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