回答編集履歴
1
閉じ忘れ
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
$ch = curl_init('http://127.0.0.1/article/show/id/2');
|
4
4
|
|
5
|
-
curl_setopt($ch, CURLOPT_HEADER, array( 'Host: example.jp' );
|
5
|
+
curl_setopt($ch, CURLOPT_HEADER, array( 'Host: example.jp' ));
|
6
6
|
|
7
7
|
```
|
8
8
|
|