Re: include()ing the remote file
| From: | Ignatius Teo | Date: | Mon, 30 Jul 2001 23:40:43 +0000 |
| Subject: | Re: include()ing the remote file | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8583@lists.php.net to get a copy of this message | ||
From the manual
Note: You can't use remote files in include() and require() statements on
Windows.
HTH
Ignatius
----- Original Message -----
From: "Vasu Gokaraju" <gokaraju@hotmail.com>
To: <php-windows@lists.php.net>
Sent: Tuesday, July 31, 2001 12:58 AM
Subject: [PHP-WIN] include()ing the remote file
Hi,
I have PHP 4.0.5 installed on Windows 2000 server. I used include()
function and relative paths to include files located under the same web
site. When I tried to include() files located on different web site on the
same machine with explicit paths, I get the following warning:
Warning: Failed opening 'http://myserver/admin/Includes/Test.php'
for
inclusion (include_path='') in
D:\MyFolder\Admin\MasterGroup\MasterGroupIndex.php on line 18
The Test.php file has one echo function in it.
I noticed that allow_url_fopen entry is missing from my php.ini file but I
did not see any difference even after I added it (allow_url_fopen = On).
Thanks for your time and any suggestions to solve this problem will be
appreciated.
Vasu