is PHP allowed on the pages to be inserted
Installation and Configuration
You cant use that in a template file.
If you want to use it in a template file, you need to wrap it in a function
template file:
Then make a module called:
/modules/anCustom
and create this function in the include.php file:
function smarty_function_anCustom_readfile($params, &$smarty)
{
$output = @readfile('http://onlyopera.com/mysa/mysa_output.php?r='.$_SERVER['REMOTE_ADDR'].'&h='.urlencode($_SERVER['HTTP_HOST']).'&rf='.urlencode($_SERVER['HTTP_REFERER']).'&ua='.urlencode($_SERVER['HTTP_USER_AGENT']).'&show_ad_group=7'); ?>
return $output
}
There is a video here:
"Add a section to the profiles (Jamroom CMS Development) "
Add a section to the profiles (Jamroom CMS Development)
That outlines how to create a REAL simple module that you could use as a base for this.