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.

Strange Problem...need help

Discussion in 'Co-op Advertising Network' started by AfterHim.com, Dec 12, 2005.

  1. #1
    Ok, I have a site that has been nothing but problems for me setting up the coop.

    I take a plain php page named bacon.php and put this in it:

    
    <?php echo '<p>Hello World</p>'; ?>
    <br>
    <?php
    	ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    	include ('ad_network_468.php');
    	echo $ad_network;
    ?>     
    
    PHP:
    For some reason the Hello World will show, but no coop.

    Any ideas why some php would show but the other wouldn't? I'm not getting any errors and I have the files uploaded and the .txt file is set to 666 and is still 0 bytes.

    The site is mostly HTML, but I'm trying to get the coop running and will probably change the extensions all to .php if I can get it to work.

    Thanks,

    Brandon
     
    AfterHim.com, Dec 12, 2005 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
    #2
    You may want to add something to the ad_network PHP to echo out something. Move it around until you find the line that the ad_network code stops executing. At least then we could take a look at the line to see what might be causing it. Most likely it's a line with an if() statement in it.

    What version of PHP are you using?
     
    digitalpoint, Dec 12, 2005 IP
  3. AfterHim.com

    AfterHim.com Peon

    Messages:
    1,923
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Shawn,

    I will try that.

    Just for reference, I uploaded the same files to my other site (afterhim.com) and they will not display there either...

    I'm going to try to download a version of the coop from an older site and then upload it to the new site and see if that works.

    Thanks,

    brandon
     
    AfterHim.com, Dec 12, 2005 IP
  4. AfterHim.com

    AfterHim.com Peon

    Messages:
    1,923
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Shawn,

    Version 268 works on the site...I don't know what the problem is but I didn't change anything except that version of the code that I had on an old site...

    brandon
     
    AfterHim.com, Dec 12, 2005 IP
  5. AfterHim.com

    AfterHim.com Peon

    Messages:
    1,923
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Shawn,

    Now I can't get it to display on any html pages using the passthru technique...Is it against the rules to pay someone to set it up for me?

    Brandon
     
    AfterHim.com, Dec 12, 2005 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    No... you can pay someone to do whatever you want.
     
    digitalpoint, Dec 12, 2005 IP