[pmwiki-users] including the contents of a php file on a wiki page

Ian Barton lists at manor-farm.org
Tue Dec 4 14:01:10 CST 2007


If you are running on a Linux system you could create symlinks to the 
php files with a .txt suffix and use the IncludeFile recipe.

Ian.

>> as I said I probably misunderstood. You do want some markup which can
>> pull php files into view in a wiki page. Not just paste code. Sorry,
>> my mistake! I have no answers.
> 
> Yes, I am trying to figure out a way to basically auto-document a given page
> in a "live" form which doesn't require remembering to cut/paste changes onto
> the page nor having to remember to re-copy the *.php file to another name...
> Maybe I'm just being lazy, but I know too often I document something and
> then realize a better way to do it in the code but the new code never makes
> it back into any kind of documentation...
> 
> Again, I'm interested both in the security ramifications as well as any
> thoughts how to get non-eval'd source included onto a page...
> 




More information about the pmwiki-users mailing list