Re: Pulling my hair out over an include_once();

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



is this file you need on your local server or truely on another machine?

and if it's on another machine, why do you need to include() it from there?
why not make a local copy as was suggested earlier?
there are many reasons not to include php scripts off other servers,
esp if the servers involved are not in the same building.

On Sun, Mar 21, 2010 at 6:00 AM, Watson Blair <bestudios.wb@xxxxxxxxx> wrote:
> Hey all, i'm sure i'm missing something glaringly obvious, but i have yet to
> find a solution to this online... so heres the line of code that i'm getting
> hung up on:
>
> <?php include_once("http://www.jennysjunket.com/magpierss/rss_fetch.inc";);?>
>
> which gives me this:
>
> *Warning*: include() [function.include]: URL file-access is disabled in the
> server configuration in */home/content/81/5634781/html/ebay.php* on line*1*
>
> *Warning*: include(http://www.jennysjunket.com/magpierss/rss_fetch.inc) [
> function.include]: failed to open stream: no suitable wrapper could be found
> in */home/content/81/5634781/html/ebay.php* on line *1*
>
> *Warning*: include() [function.include]: Failed opening '
> http://www.jennysjunket.com/magpierss/rss_fetch.inc' for inclusion
> (include_path='.:/usr/local/php5/lib/php') in *
> /home/content/81/5634781/html/ebay.php* on line *1*
> *
> *
> ive got all of my permissions set as open as i can, but i'm
> still baffled about it.
> Thanks,
> Watson
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux