Undefined index ..

Discussion in 'Co-op Advertising Network' started by Nite, May 31, 2006.

  1. #1
    I use SMF v1.1RC2 with Tiny Portal v0.86.
    site : http://www.pennyquick.com/forum/

    I can add a php block thru Tiny Portal and insert php code. No problem.

    This is the code I have added :
    include('/****/****/****/pennyquick.com/forum/ad_network_273.php');
    echo $ad_network;

    Here's the errors I get in my admin log ..

    8: Undefined variable: string
    File: /****/****/****/pennyquick.com/forum/ad_network_273.php
    Line: 10

    8: Undefined index: HTTPS
    File: /****/****/****/pennyquick.com/forum/ad_network_273.php
    Line: 97
     
    Nite, May 31, 2006 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Add this to the beginning of your ad_network script...

    error_reporting(E_ALL & ~E_NOTICE);
    PHP:
     
    digitalpoint, Jun 1, 2006 IP