View Single Post
  #5  
Old 03-07-2008, 04:30 PM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
just create an addons the name you want and enable it


create files called: external_php_code.php
Code:
<?php
$addon_version = "0.0.1";
$addon_name= "EXTERNAL_PHP_CODE";
$addon_description = '&lt;"EXTERNAL_PHP_CODE&gt;';


$external_php_code = '';

$external_php_code .= 'your code here';


	$tpl = ereg_replace("<EXTERNAL_PHP_CODE>",$external_php_code,$tpl);
?>
Reply With Quote