Display Banner Ads Rotation Blogger

Discussion in 'Programming' started by moh3en, Aug 26, 2008.

  1. #1
    Hello,

    I need Script for Display Banner Ads Rotation on blogger!!

    Is that possible which work it?
     
    moh3en, Aug 26, 2008 IP
  2. xparasite9

    xparasite9 Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    there's several ways to do it. one way is you could make it generate a random number, and then display an image based on the number.
    int rand  ( int $min  , int $max  ) = $rand
    if ($rand == x)
    echo "image.png"
    if ($rand == y)
    echo "image2.png"
    Code (markup):
    etc.
     
    xparasite9, Aug 26, 2008 IP
  3. maestria

    maestria Well-Known Member

    Messages:
    705
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Generate random numbers in the range of 0-number of banners and then display it using the perl script.
    Its easy to execute.
     
    maestria, Aug 26, 2008 IP
  4. glitto

    glitto Notable Member

    Messages:
    2,839
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    205
    #4
    glitto, Aug 26, 2008 IP
  5. moh3en

    moh3en Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    How is can use banner rotation for HTML code that show banner?

    Can i put code HTML google Adsense or other network??? beacuse thay are HTML code and Haven't PNG or JPG!!
     
    moh3en, Nov 2, 2008 IP