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.

Ways to disable code block by country?

Discussion in 'PHP' started by Tuning, Mar 17, 2005.

  1. #1
    Hi folks,

    Is there any way by which I can disable a particular php code blobk when viewed from some countries ?

    So that the code wont execute and people from those countries can't see it ?

    Its something like geo-targeting.

    Best Regards,
    Tuning
     
    Tuning, Mar 17, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    It wouldn't be something *like* geo-targetting, it would be geo-targetting. You will want to get a geo-targetting databases, or subscribe to one of the realtime geo-targetting services.
     
    digitalpoint, Mar 17, 2005 IP
  3. Tuning

    Tuning Well-Known Member

    Messages:
    1,005
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    138
    #3
    Thanks DP. I'm new to geo targetting. :)
     
    Tuning, Mar 17, 2005 IP
  4. sadcox66

    sadcox66 Spirit Walker

    Messages:
    496
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    sadcox66, Mar 17, 2005 IP