|
Posted by Jerry Stuckle on 09/11/07 16:26
Anne Bos wrote:
> On Tue, 11 Sep 2007 10:36:14 -0500 wrote Good Man <heyho@letsgo.com>:
>
>> Anne Bos <anne.bosscha@hccnet.nl> wrote in
>> news:93dde31litf6ag30gtct2a1l81lnkq0slt@4ax.com:
>>
>>> On Tue, 11 Sep 2007 07:22:57 -0400 wrote Jerry Stuckle
>>> <jstucklex@attglobal.net>:
>>>
>>>> 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
>>>> Aren't you missing something - like maybe a semicolon? :-)
>>>>
>>>> T_STRING AFAIK is just a non-operator, non-numeric value. I've never
>>>> seen a definition of it, either - but never really looked for it. Too
>>>> many years coding C/C++ - I'm use to cryptic messages :-)
>>> Sorry, the ; is there. I should have copypasted.
>>> So line 1 is <?php session_star(); ?>
>>> Thank you so far.
>>> Anne
>>>
>> errr, session_star(); or session_start(); ?
>
> Stupid me. session_start(); of course.
> Sorry again.
> Anne
This shouldn't cause the error you indicate. Is this the first thing in
your page? (It looks like it - but I have to ask).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|