Help needed 2

Discussion in 'Co-op Advertising Network' started by moskita, Dec 16, 2004.

  1. #1
    Hi!

    I've just tried to activate my account and I still have info: Ads not found

    Well - I have no ads on my website!

    What I did:
    1) ad_network.php - done
    2) ad_network_ads.txt - done
    3) chmod 755 ad_network.php - done
    4) chmod 777 ad_network_ads.txt - done

    My page is in php (in html file but with htaccess directives to parse html files as php)

    I'm using smarty templates to generate output and I did like this:

    in index file which is main for all queries for my site
    
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network.php');
    $smarty->assign('ad', $ad_network[0]);
    
    Code (markup):
    in template:

    
    {$ad}
    
    Code (markup):
    Anyway I tried to put "the code" direct into the new php file - just for test
    and I can't see ad output too.

    My site:
    bieszczady.info.pl
    additional test:
    bieszczady.info.pl/test2.php

    Please help me beacuse I don't have any idea what I did wrong?!
     
    moskita, Dec 16, 2004 IP