Re: [PHP4BETA] require problems
| From: | Simon Roberts | Date: | Tue, 02 May 2000 21:31:29 +0000 |
| Subject: | Re: [PHP4BETA] require problems | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14376@lists.php.net to get a copy of this message | ||
You're probably not closing a bracket somewhere in your code. If you can't
spot it just by looking, try commenting out chunks of code until it goes
away, then look at the stuff you just removed.
Cheers
----- Original Message -----
From: "Seth Banks" <seth@subimage.com>
To: <php4beta@lists.php.net>
Sent: Wednesday, May 03, 2000 9:18 AM
Subject: [PHP4BETA] require problems
> does anyone know why require would be failing...i have a require statement
> that is passed a filename variable that is set earlier in the page. when i
> do this, php complains and says...
>
> Fatal error: Failed opening required 'pgsql65.inc' (include_path='./') in
> /home/seth/substruct/app/modules/content/test.php on line 13
>
> yet when i switch the name to a string constant it gives me this...
>
> Parse error: parse error in pgsql65.inc on line 168
>
> when the file, pgsql65.inc, is only 167 lines long!!!
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>