ya, sorry i diden't specify, i'm trying to build a simple RSS (haha, fat
chance it being simple, right?) reader for a site to import an ebay RSS feed
and desplay the contense. I'm using Magpie to accomplish it. also, you'll be
glad to know that your fix worked like a charm, all i need to do now is
limit the number of results and orginize all of the data returned (images
and such). my only curiousity about this now is what is up with that file
path.... why woulden't using the URL work?
On Sun, Mar 21, 2010 at 2:13 AM, Adam Richardson <simples...@gmail.com>wrote:
> On Sun, Mar 21, 2010 at 1:45 AM, Stan Vassilev <sv_for...@fmethod.com>wrote:
>> As the error says, this is a problem with the server configuration.
>> In your php.ini file, allow_url_include should be enabled.
>> As an alternative, if you have allow_url_include off, but allow_url_fopen
>> on, you can file_get_contents() that URL and eval() it.
>> Keep in mind you need *absolute* trust that the URL won't serve malicious
>> PHP code, or change and break your site. If you need to run this code, it's
>> a lot better to save the file from your browser and store it with your site,
>> then include it locally. It'll be also faster this way.
>> Stan Vassilev
>> ah, i forgot to properly phrase my question... what am i doing wrong, and
>>> how do i make it work? slash, could you guys/girls point me towards a
>>> tutorial that will give me a hand?
>>> Thanks again,
>>> On Sun, Mar 21, 2010 at 1:00 AM, Watson Blair <bestudios...@gmail.com
>>> Hey all, i'm sure i'm missing something glaringly obvious, but i have
>>>> 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
>>>> *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.
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
> Actually, after looking at the link you mentioned, I see it's PHP (I'm
> sorry, I didn't check the link before), and I'm wondering if you were just
> trying to include a file that's already on your server. Grabbing a PHP file
> from a remote source for parsing is a bad idea in terms of security, so
> hopefully that's not what you're doing.
> If the file is on your server, then the path would be something like below
> judging by your error message:
> include_once("/home/content/81/5634781/html/magpierss/rss_fetch.inc"); ?>
> Nephtali: PHP web framework that functions beautifully