Ad network ads should be shown on all pages within your site.

  1. Create a file named ad_network_448.php in the main directory of your site (if your registered site URL is a sub-directory of the domain, it should go in that sub-directory):

    ad_network_448.php file:

    Ad Type:   Ads To Display:  
    Display As:   Separate Ads With:
    Color:   Use "nofollow" On Ads:

    Sample (single ad):

    You can receive a weight bonus for running more ads (up to 5).


  2. Create an empty file named ad_network_ads_448.txt in the same directory. The web server user should have write permissions to this file. An easy way to set the permissions would be with the following command:
    chmod 666 ad_network_ads_448.txt

  3. Create a file named .htaccess in the main directory for your site with the following contents (you can skip this if your site is already PHP based or if your files have .SHTML extensions):

    .htaccess file:

    Note: If you have other file extensions, you will want to add them as well.

  4. For a PHP based site (skip this if your site is SHTML based), you could add the following php code to your pages (if you have a header/footer you could add it to that one file):

    Note: If your files are in sub-directories, you may need to use the full path to the ad_network_448.php file.
    If they are already PHP files, you will not need the opening/closing PHP tags.

  5. For a SHTML based site (only do this if it's SHTML), you should add the following php code to your pages (if you have a header/footer you could add it to that one file):

  6. Once it's setup on your site, request a validation of your site to get your ads into the rotation. If you need any help setting anything up, please visit the forum.

  7. Feel free to change the name of the PHP and TXT file to anything you wish (you can even move it outside of your public HTML folder if you want... just make sure you reference it with a full file path in that case).

  8. If you are running any similar ad network systems, they must be removed from your site in order to use the ad network (see terms of service).


Return to Digital Point Solutions' Home Page