==What==>>==See Also== ~- FormattedIncludeAction - Includes other pages (vs files) >> ~- A basic include that will load a text file into the page. ==Usage== ~- Syntax: ##""{{include name='file.txt'}}""## ~- Includes the raw file in the output stream (Not safe HTML) ==Installation== ~- Put the following code into ##actions/includefile.php## **includefile.php** %%(php) '; @include($file_name); if(isset($pre)) echo ''; } else { echo "{{includefile}} File $fname not found"; } } else { echo 'usage: {{includefile name="filename"}} (Missing name)'; } ?> %% ==Issues== ~- **Very Dangerous! - Caution** ~- **Not for a public Wiki since it can get __ANY__ file on the system. ** ~- Can include PHP code too. ==To Do== ~- Lock it down to only a given sub-folder ~- Maybe pass it through safe HTML