should be recommended by the program according to the users IP address), post code, City name should be picked by the program according to the post code, street.
Anybody help me how can i implement this task using php
i refer this link but this source code not working fine.
Well, you’ve either got to get yourself a really big database, or find an API you can use to do the translation. I think there’s a Google API that will use various methods to get the users location, search for “ip geolocation” and see what people are doing.
Note that they can be wildly inaccurate - my IP address (which changes every time I connect, as many do) often relates to a town about 150 miles away from me, because that’s where the ISPs datacentre is located.
Please create a contact form use PHP and as much as possible wordpress environment.
The user has to sign up with his email-id and create a password to login. After login he has to enter name, family name, date of birth, country (should be recommended by the program according to the users IP address), post code, City name should be picked by the program according to the post code, street.
City and post Code together have an own table.
This is my task kindly help me i don’t know ip address based get address.
Did you have a look at this? There are lots of options for translating IP address to location.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.