>From the manual
Note: You can't use remote files in include() and require() statements on
Windows.
HTH
Ignatius
----- Original Message -----
From: "Vasu Gokaraju" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]