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.

How to create Simple PHP Link Rotator

Discussion in 'PHP' started by Nik555, Sep 30, 2008.

  1. Nik555

    Nik555 Peon

    Messages:
    427
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #21
    oh i see, thanks a lot for your help.
    Do you by anychance know the code that shows banner based on location, for example i wanna show a certain banner only to US and UK visitors.
     
    Nik555, Oct 1, 2008 IP
  2. Sillysoft

    Sillysoft Active Member

    Messages:
    177
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #22
    You could use geocode to find out what country they are from based on the ip. With regards to rotating banner if you ever go further you should store the banner information in a database then select using the RAND() function. Obviously that is basic in itself, web apps today that display banner ads go as far as how many times to show during a specific time of the day and or by location etc etc.
     
    Sillysoft, Oct 1, 2008 IP
  3. nastynappy

    nastynappy Banned

    Messages:
    499
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #23
    nastynappy, Oct 2, 2008 IP
  4. Nik555

    Nik555 Peon

    Messages:
    427
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #24
    it isn't working for some reason
     
    Nik555, Oct 2, 2008 IP
  5. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #25
    List the steps you took.
     
    joebert, Oct 2, 2008 IP