Re: include_path in php.ini
| From: | Prachait Saxena | Date: | Wed, 23 Oct 2002 21:24:38 +0000 |
| Subject: | Re: include_path in php.ini | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121170@lists.php.net to get a copy of this message | ||
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 <preising@rochester.rr.com> 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/