RE: [PHP] include() and URL's

From: Date: Fri, 18 Jan 2002 00:02:55 +0000
Subject: RE: [PHP] include() and URL's
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-81006@lists.php.net to get a copy of this message
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: 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 -- 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


« previous php.general (#81006) next »