The file is running on an NT box and can be accessed fine through IIS. It 
is only when using the include() statement to this file that problems 
occur. If I do a local path map to it, it will include fine but when using 
an URL it gives that error.

Hippie.

At 05:02 PM 1/17/02 -0700, you wrote:
>Does the file have persmissions such that it is include()-able by nobody?
>
>Kirk
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 16, 2002 4:33 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] include() and URL's
> >
> >
> > 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?
> >
> > Hippie.
> >
> > --
> > PHP General 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]
> >
>
>--
>PHP General 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]


-- 
PHP General 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]

Reply via email to