How to install ads? help needed!

Discussion in 'Co-op Advertising Network' started by nim3, Jun 11, 2008.

  1. #1
    hey,

    Ive managed to put the ad_network_285.php file and the ad_network_ads_285.txt file in my directory but am stuck on the next bit.

    I was told to put the PHP code in my footer which i tried on the contacts page of my site:

    http://www.freebies4u.co.cc/contact.html

    If you scroll to the bottom you will see a gap between privacy policy and contact us-this is where i placed the PHP code but there is no ad there.

    This is how the footer looks in source mode:

    <td class="footer" align="left">Copyright
    2008. &copy; Freebies 4 U. All rights reserved</td>
    <td class="footer" align="right"><span
    class="footer">privacy policy</span> | <span
    class="footer"><?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network_285.php');
    echo $ad_network;
    ?>
    </span> | <span class="footer">Contact

    Any ideas what to do?

    Thanks
     
    nim3, Jun 11, 2008 IP
  2. nim3

    nim3 Notable Member

    Messages:
    1,318
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    205
    #2
    help anyone?
     
    nim3, Jun 13, 2008 IP
  3. Spawny

    Spawny Well-Known Member

    Messages:
    252
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Spawny, Jun 13, 2008 IP
  4. nim3

    nim3 Notable Member

    Messages:
    1,318
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    205
    #4
    so how do i install the ad?
     
    nim3, Jun 13, 2008 IP
  5. Spawny

    Spawny Well-Known Member

    Messages:
    252
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #5
    try renaming contact.html to contact.php
     
    Spawny, Jun 13, 2008 IP
  6. PASSlONDESIGN

    PASSlONDESIGN Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i will help u.. pm me
     
    PASSlONDESIGN, Jun 13, 2008 IP
  7. nim3

    nim3 Notable Member

    Messages:
    1,318
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    205
    #7
    do i go for one of the other options?

    Other than adding the php file you can create an HTaccess file would this work for me?
     
    nim3, Jun 14, 2008 IP
  8. WebLOADER

    WebLOADER Well-Known Member

    Messages:
    118
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #8
    ad_network_285.php copy and removed.Or cut a basedir
     
    WebLOADER, Jul 2, 2008 IP