Re: include()
| From: | Joe Nelson | Date: | Fri, 15 Sep 2000 01:27:08 +0000 |
| Subject: | Re: include() | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2660@lists.php.net to get a copy of this message | ||
I tried that and I get the following error:
Warning: failed opening 'nav.php' for inclusion (include_path") in c:\.....
I'd like to be able to use some kind of absolute path, like in your first
example. Any ideas?
""Andreas Lange"" <CodeDuck@gmx.net> wrote in message
news:GIEIJEDPLPPDHLMEPKJICEMCCBAA.CodeDuck@gmx.net...
>
> try this:
>
> absolute:
> include("/includes/script.php3");
>
> or relative:
> include("includes/script.php3");
>
> CodeDuck
>
> > -----Original Message-----
> > From: Joe Nelson [mailto:nelsonj@inconnect.com]
> > Sent: Thursday, September 14, 2000 4:05 AM
> > To: php-windows@lists.php.net
> > Subject: [PHP-WIN] include()
> >
> >
> > Does mod_include not work on NT? I'm trying to use an include()
function
> > and I just can't. I've also tried to change the include_path in
> > php.ini to
> >
> > include_path = ".;c:\Program Files\Apache\htdocs\includes"
> >
> > neither seems to work. Any ideas?
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>