painthappy
Oct 28th 2008, 10:38 am
I want to show some text or whatever to only certain regions. I want to run a contest on one of my sites, but only for 1 state at a time. It's a 50 states in 50 days contest.
Anyhow... I know you can figure out where someone lives by the IP address, i've seen them on scammy sites and what not.
How do I use that for my contest?
Say I want to do something for the state of california to start. Is there a way to figure out the IP address range? Or use "ereg" to do this?
Thanks in advance. I've looked around but no one seems to know how to do this.
Anyhow... I know you can figure out where someone lives by the IP address, i've seen them on scammy sites and what not.
How do I use that for my contest?
Say I want to do something for the state of california to start. Is there a way to figure out the IP address range? Or use "ereg" to do this?
Thanks in advance. I've looked around but no one seems to know how to do this.