Re: include error
| From: | Richard Lynch | Date: | Sat, 20 Jul 2002 07:12:30 +0000 |
| Subject: | Re: include error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-108642@lists.php.net to get a copy of this message | ||
>trying to include a file i get the following error
>
>Warning: Failed opening
>'http://prepaenlinea.com/links/10.swf.inc' for
>inclusion (include_path='.:/usr/local/lib/php') in
>/home/www/prepaenlinea/main.php on line 36
>
>i've used this same include with another hosting provider and it works just
>fine.
>trying to get help from them is not possible, they "do not provide tech
>support when it comes to custom code".
>
>if anyone could help me, i'd be very grateful
Wait...
Are you trying to "include" a URL from a remote site?
Your ISP probably wisely turned that *OFF* in php.ini, and you can't turn it
back on.
Use <?php phpinfo();?> or http://php.net/ini_get to find
out what setting
they have for remote_url_include or whatever it's called.
--
Like Music? http://l-i-e.com/artists.htm