You are here: Re: unexpected T_STRING « PHP Programming Language « IT news, forums, messages
Re: unexpected T_STRING

Posted by Anne Bos on 09/12/07 11:18

On Tue, 11 Sep 2007 13:36:09 +0200 wrote gosha bine
<stereofrog@gmail.com>:

>On 11.09.2007 13:02 Anne Bos wrote:
>> After uploading a php file I got back the error message 'unexpected
>> T_STRING on line 1'.
>> Line 1 is <?php session_start() ?>.
>> The servers php version is 5.2.1.
>>
>> By the way, what is a T_STRING. I can't find that on php sites.
>>
>> Any suggestion is appreciated.
>> Anne Bos
>
>Hi Anne
>
>that code is ok, shouldn't be a parse error. Are you sure the error is
>in this file?
>
>T_STRING and other T_xxx constants are token names in php parser. They
>are documented in "Appendix S. List of Parser Tokens". T_STRING is a
>sequence of characters without quotes, for example, in
>
>function foobar () {
>
>"foobar" would be a T_STRING.

Thank you. The problem is not yet solved, but the hint is to be
followed.
Interesting sites you point at!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация