phpAdsNew with subdomains?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Goodings Media
    Confirmed User
    • Apr 2007
    • 1987

    #1

    phpAdsNew with subdomains?

    Hiya guys,

    Im tyring to setup phpadsnew (openads) on a forum.

    if my site domain is www.mysite.com,
    phpAdsNew is installed in www.ads.mysite.com

    The forum uses .tp; template files, but I've installed a mod so that I can use PHP code.

    But im having trouble including the phpadsnew.inc.php file.

    I've tried...

    <?php
    include ($_SERVER["DOCUMENT_ROOT"]."/ads/phpAdsNew.inc.php");
    ?>

    but it aint working. Could anypone help? I notice GFY uses phpAdsNew as well :winkwink

    thanks
    ICQ: 446-568-913 Email: liam||goodingsmedia.com msn: [email protected]
  • Lycanthrope
    Confirmed User
    • Jan 2004
    • 4517

    #2
    GFY is using the javascript invocation. I suggest you do the same.

    Comment

    • Goodings Media
      Confirmed User
      • Apr 2007
      • 1987

      #3
      hiya,

      yeah I did get it working this ay, thanks for the headsup ;)

      however, Ive now found a much liter script (phpadsnew was a little overkill for) which is working a lot better, and best of all, I understand all the code! (and even learnt a bit from it )

      Thanks anyways
      ICQ: 446-568-913 Email: liam||goodingsmedia.com msn: [email protected]

      Comment

      Working...