PHP question

Discussion in 'PHP' started by phillip, Nov 21, 2006.

  1. #1
    is it possible to only make 1 type of script run? say you only want the adsense to run.

    My site is fully php, and i wanna know if this is possible. Basically a site like Blogger where the only type of javascript that can run is adsense
     
    phillip, Nov 21, 2006 IP
  2. clancey

    clancey Peon

    Messages:
    1,099
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This is not really a PHP question. The simple answer is that the only active content which runs on a page is that which you put there. If the only javascript on the page is for AdSense then that is the only thing that will run. If there is other javascript, that will also run.
     
    clancey, Nov 21, 2006 IP
  3. phillip

    phillip Active Member

    Messages:
    727
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    60
    #3
    what if the code varies.

    like everyone pub ID's will be different and hex colors
     
    phillip, Nov 22, 2006 IP
  4. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Are you looking to make a revenue sharing script for adsense? Hint: store everyone's pub id in a database, and output the original adsense javascript only one time, substituting the users' publisher id from the database using php.
     
    exam, Nov 23, 2006 IP
  5. phillip

    phillip Active Member

    Messages:
    727
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    60
    #5
    yea i am. but i wanna make it so they can do it themselves

    this is possible to allow 1 type of code(adsense) right?
     
    phillip, Nov 23, 2006 IP