WordPress.org

Ready to get started?Download WordPress

Forums

Detecting browser locale (1 post)

  1. Colin Young
    Member
    Posted 2 years ago #

    Hi

    I am trying to figure out the best way to get a visitors browser locale so I can display a specific ad for them

    The ads I have are either US or UK and my visitors are split pretty evenly across both sides of the pond.

    Can anyone offer some assistance on how to detect a visitors location please? Preferably in PHP

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.