GetDotted Domains

Viewing Thread:
"PHP - file_get_contents problem on freeola website"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Thu 17/02/05 at 09:20
Regular
Posts: 5
Help please...
I'm trying to read in a rss file using php.
I can't get this to work on my freeola website.
This is the code I'm using...

$file = "http://www.thelocal.se/RSS/theLocal.xml";
$filetext = file_get_contents($file);
?>

I get this error...

Warning: fopen(http://www.thelocal.se/RSS/theLocal.xml): failed to open stream: Permission denied

The remote site file loads fine when I type the url direct in to my browser.
The code works fine when testing on another server, but it won't work when uploaded to my freeola webspace.

Am I doing something really stupid?
Have freeola blocked this method of getting files from other websites?
Has anybody been able to get round this?
Thanks in advance to anybody who can solve this.
Fri 18/02/05 at 11:00
Regular
"Fruit makes you far"
Posts: 232
Trying to get an answer on this, keep this channel tuned.
Fri 18/02/05 at 11:38
Regular
"Fruit makes you far"
Posts: 232
Sorry, 'tis not possible either method.

It's all security related I'm afraid.
Fri 18/02/05 at 12:56
Regular
Posts: 5
Thanks for all your comments folks.
Looks like this is a dead end on freeola.
Mon 21/02/05 at 11:32
Regular
"yamahapkowner.com"
Posts: 409
oh flippin heck just spent the last hour or so getting an rss feed working perfectly on my test machine and now i read this!!!!

I would swear, but im holding back :)

http://www.yamahapkowner.com/skynews.php

Would have been so good as well, this is most annoying.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

First Class!
I feel that your service on this occasion was absolutely first class - a model of excellence. After this, I hope to stay with Freeola for a long time!
I am delighted.
Brilliant! As usual the careful and intuitive production that Freeola puts into everything it sets out to do. I am delighted.

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.