Re: require() problem
| From: | Jake Malone | Date: | Tue, 22 Apr 2003 17:44:48 +0000 |
| Subject: | Re: require() problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144877@lists.php.net to get a copy of this message | ||
looks like you're just missing a quote:
require($path."\db.set);
SHOULD BE
require($path."\db.set");
-jake
"Prince" <friendly@kaltelnet.net> wrote in message
news:000901c308f6$308363c0$2d04a40c@andy...
> i have some code like:
> $path="c:\program files\abria merlin\apache\htdocs\lib\conf";
> require($path."\db.set);//windows only
>
> and for error on web page i get:
>
> Parse error: parse error in c:\program files\abria
> merlin\apache\htdocs\lib\db\db.lib on line 6
>
> Fatal error: Cannot instantiate non-existent class: db in c:\program
> files\abria merlin\apache\htdocs\index.php on line 3
>
> how should i fix the problem
>
>
>