question

Discussion in 'Support & Feedback' started by knicks21, Feb 12, 2006.

  1. #1
    if i place my adsense html code on a thread in this forum would ads come up?
     
    knicks21, Feb 12, 2006 IP
  2. cpvr

    cpvr Guest

    Messages:
    1,030
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    No, ads won't come up - seeing how javascript doesn't work in posts.
     
    cpvr, Feb 12, 2006 IP
  3. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #3
    Correct, you are not allowed to use HTML in threads. See below under 'Posting Rules', for which code is allowed and which is not. Javascript, for obvious reasons, is not allowed because you can easily tweak javascript to be hacker-friendly.
     
    fsmedia, Feb 12, 2006 IP
  4. knicks21

    knicks21 Peon

    Messages:
    125
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    how would i add my adsense code to a php script to make it show up on my site
     
    knicks21, Feb 12, 2006 IP
  5. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #5
    Simply add it to a php file then call that php file using <?php include('filename.php'); ?> and it will included wherever you want it to be -- also meaning that the original file has to be somefilename.php
     
    fsmedia, Feb 12, 2006 IP