1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

activation/ participation

Discussion in 'Co-op Advertising Network' started by kaptain, Aug 20, 2004.

  1. kaptain

    kaptain Peon

    Messages:
    194
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #21
    ok, i have something just not sure how to modify

    on the pages from the cgi script

    if i wanted to ad a simple footer or a text file ect.

    i would need to
    <!--apf &apf_include=../html/TEXTFILE.htm!!-->
    Code (markup):
    and that works to include a text file

    so i tried
    <!--apf &apf_include=../html/ad_network.php!!-->
    Code (markup):
    and that produced
    look at the bottom of this page: http://www.web-site-hosting-n-tools...re-input_string-Virus+Firewall-locale-us.html

    in the location the ad should be

    again i have all my other pages working with the ads just fine just not the cgi produced pages.
     
    kaptain, Aug 21, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #22
    The problem with that include is that it's a raw file include, rather than spinning it through the PHP parser. So it will just spit out the raw PHP code (as you see).

    If the include in your CGI supports URLs, you could do something like this:

    <!--apf &apf_include=http://www.web-site-hosting-n-tools.com/ad_network.php!!-->
    Code (markup):
    And add this to the end of the PHP file (before the closing PHP tags):

    echo $ad_network;
    PHP:
    If that works, you will also need to take out the following from your "normal" files:
    echo $ad_network;
    PHP:
     
    digitalpoint, Aug 21, 2004 IP
  3. kaptain

    kaptain Peon

    Messages:
    194
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #23
    :eek: :mad:

    well, no it wont work that way either

    i will keep tying, thier has to be a way??

    i do have it on a good bit of pages on this site and have other sites that i will be useing this on.

    If you or anyone else has another idea...please,please let me know!

    thanks for the help so far i have learned a few things. so it was not a waste :)

    dave
     
    kaptain, Aug 21, 2004 IP