1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

php code to register flash clicks

Discussion in 'PHP' started by donaldislands, Apr 20, 2012.

  1. #1
    Hey Guys,,,

    Im stuck and I cant find a way to register clicks when someone clicks on a flash banner.
    Anyone know how to...
    php, javascript.... ???


    Thanks for the help in advance...
     
    donaldislands, Apr 20, 2012 IP
  2. Uploadables

    Uploadables Member

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #2
    Uploadables, Apr 20, 2012 IP
  3. ThePHPMaster

    ThePHPMaster Well-Known Member

    Messages:
    737
    Likes Received:
    52
    Best Answers:
    33
    Trophy Points:
    150
    #3
    I would add a clickable div on top of the flash object (higher z-index).

    If you know the link beforehand, you can just redirect after they click your div (acting as a proxy). If you don't know the link, then on first click you hide it and on second click they actually click the banner - but that requires double click.

    You might use this as a starting point:

    http://www.azizsaleh.com/index.php/showPost/13
     
    ThePHPMaster, Apr 20, 2012 IP
  4. donaldislands

    donaldislands Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thank you for your help and reply... I appreciate it..
     
    donaldislands, Apr 27, 2012 IP