For a forum block, make sure you've selected "php" as the content type, then try this code:
Code:
/* Terra Plana VivoBarefoot Athletic (Started 12/10/11) */ return @file_get_contents('http://www.wpcreations.net/vbbarefoot/mysimpleads/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=1');
For a CMS widget, make your widget type PHP Direct Execution and use this code:
Code:
/* Terra Plana VivoBarefoot Athletic (Started 12/10/11) */ $output = @file_get_contents('http://www.wpcreations.net/vbbarefoot/mysimpleads/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=1');