質問編集履歴
1
エラー内容を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -108,6 +108,30 @@
|
|
108
108
|
|
109
109
|
|
110
110
|
|
111
|
+
エラー内容ver2
|
112
|
+
|
113
|
+
result.phpの
|
114
|
+
|
115
|
+
header('Content-Type: text/html; charset=UTF-8');を
|
116
|
+
|
117
|
+
header('Content-Type: application/json; charset=UTF-8');に変えた場合
|
118
|
+
|
119
|
+
```
|
120
|
+
|
121
|
+
<br />
|
122
|
+
|
123
|
+
<b>Warning</b>: file_get_contents(http://localhost:1024/api.php?num=10): failed to open stream: �Ώۂ̃R���s���[�^�[�ɂ��ċ��ۂ��ꂽ���߁A�ڑ��ł��܂���ł����B
|
124
|
+
|
125
|
+
in <b>C:\xampp\htdocs\php\server1\result.php</b> on line <b>10</b><br />
|
126
|
+
|
127
|
+
<br />
|
128
|
+
|
129
|
+
<b>Notice</b>: Trying to get property 'status' of non-object in <b>C:\xampp\htdocs\php\server1\result.php</b> on line <b>15</b><br />
|
130
|
+
|
131
|
+
```
|
132
|
+
|
133
|
+
|
134
|
+
|
111
135
|
何がおかしいのか、全く分かりません。file_get_contentsが原因だとは思いますが、解消方法が分かりません。
|
112
136
|
|
113
137
|
|