background image

    $response = GetWebContent("$host","POST /$login_page HTTP/1.0", $str);// 登 入 得 到 新 的
session_id
  //...可以在这里先保存 session_id
  $response = GetWebContent("$host","GET /$somepage HTTP/1.0", '', $response['sessid']);//使
用 session_id 访问页面
  echo $response['location'].$response['content']."<br>"; 
?>