include()ing the remote file

From: Date: Mon, 30 Jul 2001 14:58:33 +0000
Subject: include()ing the remote file
Groups: php.windows 
Request: Send a blank email to php-windows+get-8575@lists.php.net to get a copy of this message
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

« previous php.windows (#8575) next »