复制代码 代码如下:
php
$str=file_get_contents('http://cn.bing.com/HPImageArchive.aspx?idx=0&n=1');
if(preg_match("/
$imgurl='http://cn.bing.com'.$matches[1];
}
if($imgurl){
header('Content-Type: image/JPEG');
@ob_end_clean();
@readfile($imgurl);
@flush(); @ob_flush();
exit();
}else{
exit('error');
}
?>
Microsoft Bing是一款可帮助您快速找到值得信赖的搜索结果,跟踪您关注的话题和热门故事,并让您控制 自己的隐私。无需输入,只需使用语音、相机或网络图片进行搜索即可。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号