View Full Version : IP address
02-19-2008, 01:33 AM
I'm creating a weather section on my new website. Is it possible to get someones IP address and then calculate the sunrise/sunset from the IP? If it is possible where do I look for it at.
02-19-2008, 01:42 AM
No not with HTML. You will need a server side language to get their IP address. Once you do this you will have to some how trace back where the ip address originated from and then from that you might be able to do what you want. I found this
I don't know how accurate the data is as it says my IP comes from California, yet I am in Florida.
There is also this
which is a little expensive.
02-19-2008, 01:45 AM
That's called dynamic DNS: your IP address is not unique to you, Aero, because it's selected from a pool of avalible addresses.
I have the same problem. I'm very clearly a thoroughbred Londoner, but apparently I'm from Gloucester?
02-19-2008, 01:52 AM
What about a zip code. If a user types in as there zip "55555" then the forecast for that area comes up. (I could also use iframes). What would be the best way to do this?
02-19-2008, 02:23 AM
Zip code might work better. I just found this
02-19-2008, 03:14 AM
thanks, that helped.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.