I'm trying to find out what code or script will work to serve specific content by IP address. Say you're from Denver, I want to serve Denver News to you. Any leads on some code?
In PHP I think you need to look at $_SERVER["REMOTE_ADDR"], however I am not sure how you would get a list of IP addresses against area
A little modification of the script I talked about in http://forums.digitalpoint.com/showthread.php?p=501576#post501576 can do the job!
google for ip to country database's I can provide you with one if you are intrested. Feel free to pm me.
Or say.... you're from Google, or Yahoo, etc... Just kidding around. Don't worry, we've all tried it.