I think my problem lies in the php.ini file. What should my include_path be
set to in my php.ini file??
Advertising
Whenever I try and include anything I get the error message below.
"Prachait Saxena" <[EMAIL PROTECTED]> wrote in message
news:20021023212920.66050.qmail@;pb1.pair.com...
> Hello Paul
>
> Fine tell is the path of the file which u wourld like to include and in
> which u want to include
>
>
> Paul Reisinger <[EMAIL PROTECTED]> wrote in message
> news:20021023144811.38123.qmail@;pb1.pair.com...
> > I am new to installing and configuring php especially on a windowzzz
> server.
> > I am having trouble getting php includes to work.
> >
> > example:
> >
> > (<?php include("http://mywebsite.com/forum/ssi.php"); ?>)
> >
> > I get this error:
> >
> > Warning: Failed opening 'http://mywebsite.com/forum/ssi.php'for
inclusion
> > (include_path='D:\Inetpub\NewIntraRoot') in
> D:\Inetpub\NewIntraRoot\test.php
> > on line 6
> >
> > I know the include path is wrong but I've tried so many different paths.
> >
> > I've searched the php manual but it doesnt give me a good understanding
of
> > what really needs to be configured and how to do it. I have also
searched
> > the web.
> >
> > It's probobly so simple that it doesnt need any more explanation.
> >
> > Could someone out there give me any advice?
> >
> > System Windows NT 5.0 build 2195
> > Build Date Sep 6 2002 10:38:51
> > Server API CGI
> > Virtual Directory Support enabled
> > Configuration File (php.ini) Path C:\WINNT\php.ini
> > Debug Build no
> > Thread Safety enabled
> >
> >
> > implicit_flush
> > Off Off
> > include_path
> > D:\Inetpub\NewIntraRoot D:\Inetpub\NewIntraRoot
> > log_errors
> > Off Off
> >
> >
> > php is installed on C but the site is hosted on D.
> >
> > Does this make sense?
>
>
> Its dones not have any problem
>
>
> <?include("c:/myfile.php");?>
>
> work fine where these lines are addedd in d:/index.php
>
> --
>
> Bye, and Have a nice day.
>
> Prachait Saxena
>
> If you do for other's !
> Other's will do for you !!
>
> Visit me at
> http://www.Prachait.Com/
> http://www.SitesOnTesting.Com/
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php