Re: include()
| From: | Dustin Rue | Date: | Fri, 15 Sep 2000 04:27:18 +0000 |
| Subject: | Re: include() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2661@lists.php.net to get a copy of this message | ||
have you tried require? Seems to work pretty good for me on NT with
IIS4.0 php 4.0
Dustin Rue
=====================================
Student Technology Team
Contact Me:
218-236-2125
=====================================
On Thu, 14 Sep 2000, Joe Nelson wrote:
> 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
> >
>
>
>
> --
> 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
>
>