Home > Programming, Servers & Scripts >

How to show user location in landing pages? (4)


04-14-2014 08:16 PM #1 laison1234 (Member)
How to show user location in landing pages?

I see a lot of landing pages with things like "See sexy singles in [YOUR AREA]."

How do you create that in landing pages? What kind of code do I need?

Thanks


04-14-2014 08:53 PM #2 theboss (Member)

You can do it 2 ways.

1) by using the visitor's IP. Have a look at the code project here: http://freegeoip.net

2) Have the country header code supplied by your content delivery network (CDN). I use the one found here: https://support.cloudflare.com/hc/en...eolocation-do-


04-14-2014 09:34 PM #3 sergeru (Member)

http://ipyxel.com/dynamic-landing-pa...e-performance/


04-15-2014 07:54 AM #4 craigm (Veteran Member)

you can install it on your own server if you have shell access

http://stmforum.com/forum/showthread...our-Own-Server


Home > Programming, Servers & Scripts >