RE: [PHP] include() and URL's
| From: | Johnson, Kirk | Date: | Fri, 18 Jan 2002 00:02:32 +0000 |
| Subject: | RE: [PHP] include() and URL's | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81005@lists.php.net to get a copy of this message | ||
Does the file have persmissions such that it is include()-able by nobody?
Kirk
> -----Original Message-----
> From: johnnews@cci.net.au [mailto:johnnews@cci.net.au]
> Sent: Wednesday, January 16, 2002 4:33 PM
> To: php-general@lists.php.net
> 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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>