[pmwiki-users] Php code in Wiki page

Ugo Mariani ugo at sinet.it
Sun Apr 3 06:23:56 CDT 2005


Hi all,

I'm looking for a way to include some php code in a wiki page, but I don't 
know which is the preferred medthod.

Consider a simple example:
<?php printf("Your host is running PHP version %s", phpversion());?>

How do I display the result in a Wiki page? Can I just write some special 
markup? or is it best to create a php file and include it from 
local/config.php? if so, how can i call the php routine from my Wiki page?

Thx in advance,

-Ugo



More information about the pmwiki-users mailing list