Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION

Hello,
if found a free php-hoster, which supports php 5.2.1
(http://www.cwsurf.de)

phpinfo() shows following values.

http://muller.cwsurf.de/index.php5

nevertheless i could not use static and private variables.
i got follow errror message.

http://muller.cwsurf.de/index.php
ibidrin [ Mi, 02 Mai 2007 14:31 ] [ ID #1702945 ]

Re: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION

On May 2, 1:31 pm, ibid... [at] googlemail.com wrote:
> Hello,
> if found a free php-hoster, which supports php 5.2.1
> (http://www.cwsurf.de)
>
> phpinfo() shows following values.
>
> http://muller.cwsurf.de/index.php5
>
> nevertheless i could not use static and private variables.
> i got follow errror message.
>
> http://muller.cwsurf.de/index.php

do they force you to use .php5 extnesion to use php5?
shimmyshack [ Mi, 02 Mai 2007 15:11 ] [ ID #1702946 ]

Re: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION

On 2 Mai, 15:11, shimmyshack <matt.fa... [at] gmail.com> wrote:
> On May 2, 1:31 pm, ibid... [at] googlemail.com wrote:
>
> > Hello,
> > if found a free php-hoster, which supports php 5.2.1
> > (http://www.cwsurf.de)
>
> > phpinfo() shows following values.
>
> >http://muller.cwsurf.de/index.php5
>
> > nevertheless i could not use static and private variables.
> > i got follow errror message.
>
> >http://muller.cwsurf.de/index.php
>
> do they force you to use .php5 extnesion to use php5?

thx,
it works now
i'm dopey
ibidrin [ Mi, 02 Mai 2007 15:43 ] [ ID #1702947 ]
PHP » alt.php » Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION

Vorheriges Thema: GD CPU/memory requirements
Nächstes Thema: php mail-scripts & anti-spamming