file_get_contents fails for maps.googleapis.com

I am trying some script here : http://www.probtp-benevoles.com/probtp2.0/t3.php

We have an address here, which if loaded via browser, prints nicely a json code.

However, when I try to get the content using file_get_contents or curl, I do not get the expected result. It seems the same url is not loading anymore.

Any suggestion anyone ? Something is going wrong what I am unable to understand here.

I just found that the problem is specific to Google. :frowning:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.