bug_x

导航

 

 

 

     $opts = array(
        'http'=>array(
          'method'=>"POST",
          'header'  => 'Content-Length: 0'   //这里不要写其他header
        )
      );      
      $context = stream_context_create($opts);
      $token_url = "https://ssssssss/cmtlists/gentoken";
      $post_id_str = file_get_contents($token_url, false, $context);      

 

posted on 2018-08-20 19:52  bug_x  阅读(514)  评论(0编辑  收藏  举报