回答編集履歴

1

閉じ忘れ

2016/07/28 12:51

投稿

asahina_dev
asahina_dev

スコア610

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