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

Posted by Shelly on 09/11/07 11:28

"Lammi" <Lorenz.Lammersdorf@gmail.com> wrote in message
news:1189509547.078627.111130@57g2000hsv.googlegroups.com...
> On 11 Sep., 13:02, Anne Bos <anne.boss...@hccnet.nl> 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
>
> try adding a ; behind session_start().
> T_STRING means, that the parser found a string instead of whatever it
> expected. i don't know why it's called T_STRING.
>

A common reason for this is that you left off the semi-colon at the end of
the previous sentence. (This has happened to me more frequently lately as I
have bouncing between VB.NET and PHP development :-) )

--
Shelly

 

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

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