Hello, all. I'm currently building my company's intranet site, and I'm trying to use an XML news feed to make a news ticker across the bottom. However, it seems as though my server is unable to connect to outside sources.
Here's a sample of the error message I'm receiving:
Code:
<?
$feed = fopen("http://www.newsisfree.com/HPE/xml/feeds/15/2315.xml", "r");
echo $feed;
?>
Error:
I've tried changing allow_url_include and allow_url_fopen to on in the php.ini file, but that hasn't helped. I've also tried using cUrl, and even a simple include, both of which gave me a similar error message.
Does anyone have any idea what might be causing this?
Thanks in advance!