Add server-side geolocation to a Node or PHP app
Call the IP lookup endpoint directly from your backend code, whether you are running Node or PHP, with no client script involved.
Notes on geocoding, IP data, and building on the My Geocode API.
Call the IP lookup endpoint directly from your backend code, whether you are running Node or PHP, with no client script involved.
A running app's users kept asking for one specific feature above every other request: a way to see how much climbing a planned route actually involved before starting it.
An infrastructure upgrade across our serving stack has reduced response times platform-wide, with no change to any request or response format.
A wrong answer that looks confident is worse than an honest failure. An error tells you to check something. A confident wrong guess tells you nothing is wrong.
Even a well-matched replacement provider will differ from the original in small schema details. Here is how to find and handle those differences properly.
Show every date and time on a page in the visitor's own local time and format, rather than a fixed server time zone that reads correctly to almost nobody.
Postal code lookup now has its own dedicated endpoint, separate from general geocoding, with its own documentation and request parameters.
Some IP address blocks are allocated and used in a way that genuinely does not support city-level resolution, and returning a guess anyway would be worse than being honest about the limit.
A support agent staring at a live chat window with nothing but a name and a typed message is working with less information than a phone agent has from caller ID alone.
A permanent 20 percent off coupon floating around the internet is not a discount. It is evidence that the listed price was never the real price.
New posts in every topic, in one feed. No account, no tracking.
Subscribe with Atom