PHP and Google maps - distance between post codes
Briefly

To use the Google Maps Directions API, you need to include your API key in the request URL, enhancing your application’s access control and identifying usage.
By adding 'key' => 'YOUR_API_KEY' to your request parameters, the API correctly authenticates your application, allowing you to receive route information for journeys.
Read at SitePoint Forums | Web Development & Design Community
[
|
]