Simple PHP code as a plugin

proxydesign

Visiolist-Fan
Hello,

How can I make this code working as a plugin, and use a template-tag like [&comments]?

PHP:
<?
require('inc_rate.php');
getComments("1");
submitComments("1",$_SERVER['PHP_SELF']);
?>
Thank you
 
Top