ClipperSoft Support Forums

Full Version: How-To : Use mySimpleAds PHP Code with PHPBB Forum software
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
To allow for the mySimpleAds PHP code in your PHPBB Templates...

  1. Set "Allow php in templates:" to "Yes" on the Security Settings page.
  2. Paste the mySimpleAds PHP code between <!-- PHP --> and <!-- ENDPHP -->. For example,
    <!-- PHP -->
    @readfile('http://www.clippersoft.net/mysimpleads/mysa_output.php?r='.$_SERVER['REMOTE_ADDR'].'&h='.urlencode($_SERVER['HTTP_HOST']).'&rf='.urlencode($_SERVER['HTTP_REFERER']).'&show_ad_group=1');
    <!-- ENDPHP -->

...Thanks to rig-talk.com for sharing this information.
Reference URL's