1
I really appreicated the mention of the mypage.zip file spoken of in the forums a few days back for quickly and easily adding static html content to my XOOPS site.
I've been using this file to add static html content to my site. In the past I've tried several modules made for this purpose however they all seemed a little overkill for what I wanted to acheive. mypage.zip is perfect!
I'm now facing with a new problem. Using mypage.zip, I'm attempting to 'include' a page from another web site, using a php include statement.
Whilst my static html text appears within the new module I have created, it seems the include statement is ignored.
My code for my module index file is as below...
<?php
include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
include("http://www.site-to-include.com/file.php");
include(XOOPS_ROOT_PATH."/footer.php");
?>
Can anyone possibly assist me with showing me where I'm going wrong?