RE: [PHP-WIN] include()
| From: | Andreas Lange | Date: | Fri, 15 Sep 2000 09:07:30 +0000 |
| Subject: | RE: [PHP-WIN] include() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2670@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Joe Nelson [mailto:nelsonj@inconnect.com]
> Sent: Friday, September 15, 2000 3:27 AM
> To: php-windows@lists.php.net
> Subject: Re: [PHP-WIN] include()
>
>
> I tried that and I get the following error:
>
> Warning: failed opening 'nav.php' for inclusion (include_path")
> in c:\.....
i discovered probs when accessing drives. try to access only on the drive
where php
is installed. try these to examples:
require("/absolute/path/to/your/script/nav.php");
or
require("/absolute/path/to/your/script/nav.php");
but i think require is preferable function for most situations.
CodeDuck