質問編集履歴

1

コードの誤植を訂正

2020/12/02 08:31

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -48,7 +48,7 @@
48
48
 
49
49
  curl_setopt($ch, CURLOPT_URL, $url);
50
50
 
51
- if($req_header!=array()) curl_setopt_array($ch, array(CURLOPT_HTTPHEADER => array("Cookie: ".$cook)));
51
+ if($req_header!=array()) curl_setopt_array($ch, array(CURLOPT_HTTPHEADER => array("Cookie: PHPSESSID=xxxxxxxxxxxxxxxx;")));
52
52
 
53
53
  curl_setopt($ch, CURLOPT_HEADER, 0);
54
54