Loading...
 
Skip to main content

Features / Usability


Re: Having Problems including a php file in w iki page

> My question is about he code() plugin. I currently use a news provider that creates a .dat file for me to display the news. I am trying to use the following line to display the information in that file.

...

>
> Does anyone have an idea as to how this can work.

PHP statements can't be used directly in wiki pages, as far as I know. The most common workaround for this is to put an iframe in a wiki page to display a php file that contains your code.

By the way, the CODE plugin is for displaying sourcecode, not for executing the code. There are {php} {/php} brackets that you can use for php statements, but these are used in a template file (.tpl) not in wiki pages.

-- Gary