質問編集履歴

2

環境を追加

2017/06/29 11:43

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
 
12
12
 
13
+ PHP5.4、windows10です。
14
+
15
+
16
+
13
17
  実行結果が異なっているので、その画像を用意しました。
14
18
 
15
19
 
@@ -102,7 +106,7 @@
102
106
 
103
107
  // apiのリクエストURL
104
108
 
105
- $url = "https://maps.googleapis.com/maps/api/distancematrix/json?origins=".$post[0].'|'.$destination."&destinations=".$destination."&mode='".$mode."'&language=ja&key=AIzaSyDkfD-tWBHiWj80F5NdhNl4wMj8rV3WTlg";
109
+ $url = "https://maps.googleapis.com/maps/api/distancematrix/json?origins=".$post[0].'|'.$destination."&destinations=".$destination."&mode='".$mode."'&language=ja&key=AIzaSyDkfDsdgdhfjgkhNl4wMj8rV3WTlg";
106
110
 
107
111
  // jsonデータを文字列として読み込む
108
112
 

1

正しい実行結果の記載追加

2017/06/29 11:43

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- ローカルでの実行結果
17
+ ローカルでの実行結果(正しい結果)
18
18
 
19
19
  ![イメージ説明](1a463534a425c5b6c06f1b4cdc979603.png)
20
20