I'm trying to add an RSS feed from my blog to my website but am having a few issues...
I'm following this guide but have hit a stumbling block...
I'm using this code:
and have uploaded the prerequisite files and renamed the document to .php yet I get this error:
Problem is I don't understand what it means... Is it something to do with the host (it's running on my website not local machine) or is it something I need to correct in the code?
EDIT: and the page in question (although it may be subject to change)... http://wildaboutlife.net/test/site/index.php
Thanks
I'm following this guide but have hit a stumbling block...
I'm using this code:
PHP:
<div id="cont4">
<?php include('http://wildaboutlife.net/test/site/rss2html.php?XMLFILE=http://wildaboutlife.net/wp/feed/&TEMPLATE=http://wildaboutlife.net/test/site/template.html&MAXITEMS=20 target="_blank">'); ?>
</div>
and have uploaded the prerequisite files and renamed the document to .php yet I get this error:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /mounted-storage/home41c/sub006/sc31450-GAJI/wildaboutlife.net/test/site/index.php on line 82
Warning: include(http://wildaboutlife.net/test/site/...tlife.net/test/site/template.html&MAXITEMS=20 target="_blank">) [function.include]: failed to open stream: no suitable wrapper could be found in /mounted-storage/home41c/sub006/sc31450-GAJI/wildaboutlife.net/test/site/index.php on line 82
Warning: include() [function.include]: Failed opening 'http://wildaboutlife.net/test/site/...tlife.net/test/site/template.html&MAXITEMS=20 target="_blank">' for inclusion (include_path='.:/usr/share/php5/') in /mounted-storage/home41c/sub006/sc31450-GAJI/wildaboutlife.net/test/site/index.php on line 82
Problem is I don't understand what it means... Is it something to do with the host (it's running on my website not local machine) or is it something I need to correct in the code?
EDIT: and the page in question (although it may be subject to change)... http://wildaboutlife.net/test/site/index.php
Thanks

Last edited: