Include() and URLs
| From: | News) | Date: | Thu, 17 Jan 2002 22:52:05 +0000 |
| Subject: | Include() and URLs | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-80999@lists.php.net to get a copy of this message | ||
I'm trying to include a URL using the following line
include('http://www.cci.net.au/default.htm');
I get the following response.
Warning: Failed opening 'http://www.cci.net.au/default.htm' for
inclusion (include_path='') in C:\Inetpub\wwwroot\template\index.php
on line 61
I have made sure the url_fopen_wrappers is enabled in the php.ini file
but apart from this I'm kind of lost as to what is causing the
problem. Any suggestions?
Note: I'm using PHP for Windows v4.0.6. This command runs fine on my Linux box using the same build so I assume it's a configuration problem.
Hippie.