serious problem, need help.....

Discussion in 'Co-op Advertising Network' started by ewad21, Oct 3, 2008.

  1. #1
    i insert this code:
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network_369.php');
    echo $ad_network;
    ?>
    between <?php
    ?>
    Like this:
    <?php
    ..............
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network_369.php');
    echo $ad_network;
    ?>
    ?>
    and when open the site, i meet this error: Parse error: syntax error, unexpected ':' in /mnt/local/home/zhiqiang99/www/skin.php on line 218

    only i insert this code:
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network_369.php');
    echo $ad_network;
    ?>
    between <?php
    ?>
    out <?php
    ?>
    Like this:
    <?php
    .......................
    ?>
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network_369.php');
    echo $ad_network;
    ?>
    and the site can be open correctly....but the ad was at the top, not at the bottom
     
    ewad21, Oct 3, 2008 IP