Project Description:
I need a script to detect the IP city location of a visitor, and then redirect them to a classified ad site in the city they are in, so if the classified site for example was backpage.com , it would detect the IP location of Los angeles, and redirect them to losangeles.backpage.com.
I have a program that posts automatically but it needs to know the city location of the proxy, that's why I will have the program go to my site/script first to determine what city the proxy is in a continue to post the ad.
It also needs to be HTTP redirect.
Additional Project Description:
09/28/2012 at 7:15 HKT
EDIT: It needs to not only detect IP city, that's the easy part, but it needs to redirect to backpage.com with the same city, so Los angeles IP will redirect to losangeles.backpage.com