PHP & Google Maps Postcode Checker [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm not asking for anybody to build the application for me. I'm just looking for some direction. Plugins, Tutorials, etc.
How would I go around making a small application to check if a custom is within our operating radius?
So when a customer starts the ordering process, they will be asked to give us their postcode and they enter their their postcode so that we can check it. So if it is outwith our operating boundaries of 50 miles from another postcode then we will display a static error message and tell them to check back later.
By the way this is UK postcodes.

Use this to get all US Zipcodes or UK Postcodes within whatever radius use this tool...
For US:
http://www.freemaptools.com/find-zip-codes-inside-radius.htm
For
UK: http://www.freemaptools.com/find-uk-postcodes-inside-radius.htm
For any other tools you can try and check this site

Related

how to verify bank account if its valid to receive funds? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Good day,
I'm currently developing a system for ads, and we have users who advertise / share a post on our site then they get paid for it.
also we have a form that requires their account number. My question is, how do we verify if the account number they write on our form if its valid or not, before we transfer the fund to it? is there a way we can do this electronically? we are currently new to TD's EFT.
I just would like to asks for advice to those who has experienced working with any banking api.
please give me some advice on where to start. Thanks!
You can look at the ISO9362 standard which define the SWIFT code, there is one also for BIC and IBAN codes, so at least you can formally validate the code and find if the user entered a wrong number ( a type error for example).
Once you have a formally valid code, you can eventually check with the correct bank if the api it expose a method to allow it.
But you can neven be sure of the person/account number match until the bank say it.

Geolocation to find nearest place [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a database of national park names (Alcatraz Island, Death Valley, Biscayne, etc.) which all have coordinates.
What's the simplest way for me to match the closest park in my database to their current location whether on a mobile device or on a desktop?
You can definitely use Google's Geolocation API to get the user's current location, then with some Javascript, you can determine the closest park.
Don't know what database you're using, but you might look into PostGIS, an extension to Postgres designed to handle geographical data. You would be able to query the database for the closest locations to a certain point. The algorithms for doing so are built in to PostGIS. Otherwise, you might need an external library to do the calculations.

Find out website hosting location [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Am a member of IT team. Each group of people in my company have their own webpage. somebody is using google sites. 2 websites were not found from this morning. I need to find out one website hosting location. Website URL is something like https://www.mycompanywebsite/groupweb. I checked all the codes in company website (It's developed using PHP MySql), but these 2 groups names or files not found in the codes. Any guess or comments from anybody??
Do a whois lookup. I usually just go to http://who.is and do a search on the URL. The whois lookup will give you a list of information about that domain. Often looking at the nameservers will help. You might need to search the name servers on google (or other search engine) to find out who owns them.

Nearest place within the latitude and longitude [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I create simple API for IOS devices. In my project there is a table with the parties the latitude and longitude where they registered. The device gives me the latitude and longitude where it is and I have him return The list of parties that are closer to it within such km. How best to do this, please help and thanks.
I use clean PHP and mysql.
Write a user defined function in mysql [e.g. distance(x1,y1,x2,y2)] which returns the distance of two points. Then you can query for other locations within a given radius of a given point, like in
select parties from mytable where distance(latitude,longitude,x,y) < 10
Do the processing in the database, not in the PHP client, for performance reasons.

Postcode vs Longitude and Latitude [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm trying to find research or information as to whether searching for a location by postcode in a web system is more accurate that longitude and latitude values. I am trying to justify why I have chosen the postcode method instead of the longitude and latitude values, or research/information backing up that statement.
I can't seem to find a lot of information regarding it.
Latitude and longitude, with enough precision, can point to any place on Earth, including places outside national boundaries that have no postal codes. Postal codes, on the other hand, are arbitrary boundaries that are unlikely to be available in, say, Antarctica or the Indian Ocean. You use postal codes because most people are familiar with their local postal codes and can fill them into a form, where they probably can't tell you what their local lat/long coordinates are without tools - and those tools may require them to be able to read a map, which some people can't do very well.

Categories