maybe my question was worded wrong so let's try this again everyone....
info first:
1. standard NEW install of the newest PHPFusion-7.02.07 in my root dir on a working Linux dedicated server (with 9 other sites running other scripts with no problems, so server side is fine)
2. PHPFusion-7.02.07 is running Great as the out-of the-box install...
3. I have added one (1) dir to the base dir structure called Books with a index.php file that will list all the sub-directories and files in the Books dir (which works fine when loaded in my browser as http://www.mysite.com/Books/index.php)
4. in standard php I would simply add the Syntax:
include ('dir/filename'
;
or better yet:
require ('dir/filename'
;
5. for a big site The best practice for this is to define a 'ABSOLUTE_PATH' constant that contains the directory that everything is located under. as follows:
define("ABS_PATH", $_SERVER['DOCUMENT_ROOT']);
then call it like this:
include(ABS_PATH . "/path/to/file"
;
NOW for the QUESTION...
what is the syntex/code to add an "include" or "require" to a custom page and still keep the script intact and stay within the AGPL Copyright notice??????
OR.......
is there an INFUSION that will do what #3 above will do????
thanks
hivtop
If it isn't fun... Don't do it!
Remember... The mind is like a parachute. It works only when open.
Merged on Mar 29 2014 at 14:16:24:
sorry forgot to answer jib and Talocha
jib... the dir listing script is not mine but you can see it here:
Directory Listing Script - Version 3
====================================
[removed link]
Talocha... the file is not books.php it is index.php in the Books dir
thanks for your replys
Merged on Mar 29 2014 at 14:18:36:
sorry #2 forgot to disable smilies so code was right