1
Hello, for my html pages I am using a blank.php with my in between the 2 php tags like so, (arrows are back the front in the ?php coz i didnt know how to add them otherwise)
>?php
include("mainfile.php");
include("header.php");
$xoopsOption['show_rblock'] = 1; //0 for no right block
?>
MYHTML
>?php
include("footer.php");
?>
but the thing i have to add the php files into my main directory for them to work, what I am wanting to do is have a folder named php so i can have all my html/php custom files organised into one folder. So when people go to my html pages it will look something like mysite.com/php/terms.php, I have tried adding in to the "footer.php" my site like so, "http://mysite.com/php/footer.php" but it just comes up with errors:
Warning: main(XOOPS_ROOT_PATH/class/xoopsblock.php): failed to open stream: No such file or directory in /home/sportsfo/public_html/header.php on line 41
Warning: main(): Failed opening 'XOOPS_ROOT_PATH/class/xoopsblock.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sportsfo/public_html/header.php on line 41
Warning: main(XOOPS_ROOT_PATH/class/template.php): failed to open stream: No such file or directory in /home/sportsfo/public_html/header.php on line 76
Fatal error: main(): Failed opening required 'XOOPS_ROOT_PATH/class/template.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sportsfo/public_html/header.php on line 76
so i was just wondering if it's possible?
thanks,
shan