AD Code in an include

Discussion in 'Publisher Network' started by jda, Jun 3, 2006.

  1. #1
    Maybe this is a dumb question, but I've never done it before.

    Is it alright to include the adcode in an include statement [ include("ypnfile") ], or is this a violation of YPN's terms?
     
    jda, Jun 3, 2006 IP
  2. andy11

    andy11 Peon

    Messages:
    282
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Nothing is wrong with having your ads in an include file.

     
    andy11, Jun 3, 2006 IP
  3. Cristian Mezei

    Cristian Mezei Notable Member

    Messages:
    3,332
    Likes Received:
    355
    Best Answers:
    0
    Trophy Points:
    213
    #3
    The final result is a page, still.

    So that's not a problem. 80% of the guys here use headers, footers, sidebars, as separate files, and use the include function to add them to a page. :)
     
    Cristian Mezei, Jun 3, 2006 IP
  4. digiseek

    digiseek Peon

    Messages:
    283
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    As YPN is booting out people for number of reasons...it is always better to send them a note regarding this...
     
    digiseek, Jun 3, 2006 IP
  5. Jenstar

    Jenstar Active Member

    Messages:
    524
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    68
    #5
    As long as your include does not require you to change the YPN javascript in any way, it is fine to do.
     
    Jenstar, Jun 4, 2006 IP
  6. ArcticPro

    ArcticPro Banned

    Messages:
    1,273
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #6
    PHP is just a server-side scripting language, it all feed's out to HTML in the end and you are not modifiying the YPN code at all.
     
    ArcticPro, Jun 4, 2006 IP
  7. jda

    jda Peon

    Messages:
    85
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I figured that since the output is exatly the same, it shouldn't be a probelm, just wanted to make sure. Rewriting my site and didn't want to get in trouble with YPN. Thanks for the replies.
     
    jda, Jun 5, 2006 IP