AD_NETWORK.PHP file needs updating!

Discussion in 'Co-op Advertising Network' started by rick sample, Sep 8, 2005.

  1. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #21
    I get a message about not being able to set cookies. This is all I see:


     
    digitalpoint, Sep 9, 2005 IP
  2. rick sample

    rick sample Peon

    Messages:
    310
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #22
    Are you able to see it now? Is it displaying correctly on your end? Its displaying 100% correctly over here with no errors, but I'm using firefox.

    All I did was change what went in the index file:
    Include('Location To My File');
    echo $ad_network;

    TO:

    Require('Location To My File');
    echo $ad_network;

    not sure why it wouldn't work with the include statement, but it works with the require statement!
     
    rick sample, Sep 9, 2005 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #23
    Yep... looks fine to me now. Not sure in the difference between require() and include() though. I'll check into it.
     
    digitalpoint, Sep 9, 2005 IP
  4. SERPalert

    SERPalert Guest

    Messages:
    1,003
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    0
    #24
    I could be wrong.

    From my understanding REQUIRE is just that "required". If it can't find the file then it dies. Although include will just spit out a error if the file can't be found.

    Hope it helps.
     
    SERPalert, Sep 9, 2005 IP