Click banner to download the file

Discussion in 'PHP' started by kirpy, Dec 3, 2005.

  1. #1
    I have some banner codes as adsense but not adsense codes as it is against the rules. What i would like to do is, i see on some websites "click on the banner to download the file" when the banner is clicked the download starts and the banner link works. I think this can be done with php or js but i'd prefer php. Do you know how this can be done?
     
    kirpy, Dec 3, 2005 IP
  2. onlyican.com

    onlyican.com Peon

    Messages:
    206
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you mean a flash banner (.swf) or normal text banner?
     
    onlyican.com, Dec 3, 2005 IP
  3. kirpy

    kirpy Member

    Messages:
    61
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #3
    Nope not flash i mean normal banners. Some starts like <script langage javascript>... bla bla they are not one line codes.
     
    kirpy, Dec 3, 2005 IP
  4. onlyican.com

    onlyican.com Peon

    Messages:
    206
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    if you want the link to download a file, it is simple htm code
    <a href="file name">Text here</a>
     
    onlyican.com, Dec 3, 2005 IP
  5. kirpy

    kirpy Member

    Messages:
    61
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #5
    ah nope :) what i mean is "you have to click on the banner to download a file." The banner has to have two functions one let the visitor download the file and the other is going to the link given to the banner.
     
    kirpy, Dec 3, 2005 IP
  6. Tom_e_rock

    Tom_e_rock Peon

    Messages:
    428
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    That'd be so against all PPC programs. I wouldn't suggest doing this.
     
    Tom_e_rock, Dec 3, 2005 IP
  7. S2X

    S2X Active Member

    Messages:
    508
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    58
    #7
    If I could figure out how to do that through adsense, I'd make a fortune :D

    JS would probobly be the only way to do this.
     
    S2X, Dec 3, 2005 IP
  8. Roman

    Roman Buffalo Tamerâ„¢

    Messages:
    6,217
    Likes Received:
    592
    Best Answers:
    0
    Trophy Points:
    310
    #8

    Your account might reflect a fortune, but it would be a fortune you would never see.
     
    Roman, Dec 3, 2005 IP