Re: include errors
| From: | Jean-Fran�ois GAZET | Date: | Fri, 05 Jul 2002 08:21:12 +0000 |
| Subject: | Re: include errors | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105595@lists.php.net to get a copy of this message | ||
> try,
> include("fonctions.php");
> Hugh
thanks but the file is in the directory "include" and it works fine.
But 1 refresh on 10 gives errors... :((
> ----- Original Message -----
> From: "Jean-François GAZET" <gregoire@webjeff.org>
> To: <php-general@lists.php.net>
> Sent: Friday, July 05, 2002 12:57 AM
> Subject: [PHP] include errors
>
>
> > Hi,
> >
> > i work on Win98, apache 1.3.24/PHP4.2.1.
> > I include a PHP file (867 lines) witch contains functions :
> >
> > include("include/fonctions.php");
> >
> > This previous code is inserted in the upper frame and the left frame.
> > But sometimes, i've got errors like :
> >
> > Parse error: parse error, unexpected '.' in d:\www\include\fonctions.php
> on
> > line 431
> >
> > and
> >
> > Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE in
> > d:\www\include\fonctions.php on line 275
> >
> > Error line can be 206,325,186...
> >
> > I refresh the page (F5) and all is right.
> > It is sure that this included script contains no errors.
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>