随机动物图片API:https://api.hefollo.com/API/dongwu.php
随机动漫图片API:https://api.hefollo.com/API/dongman.php
随机城市图片API:https://api.hefollo.com/API/chengshi.php
随机情感图片API:https://api.hefollo.com/API/qinggan.php
随机手绘图片API:https://api.hefollo.com/API/shouhui.php
随机文字图片API:https://api.hefollo.com/API/wenzi.php
随机机械图片API:https://api.hefollo.com/API/jixie.php
随机游戏图片API:https://api.hefollo.com/API/youxi.php
随机物语图片API:https://api.hefollo.com/API/wuyu.php
随机美女图片API:https://api.hefollo.com/API/meinv.php
随机视觉图片API:https://api.hefollo.com/API/shijue.php
随机设计图片API:https://api.hefollo.com/API/sheji.php
随机风景图片API:https://api.hefollo.com/API/fengjing.php
随机PC动漫图片API:https://api.hefollo.com/API/dongmanpc.php
随机4K动漫图片API:https://api.hefollo.com/API/4k.php
随机PC美女图片API:https://api.hefollo.com/API/meinvpc.php
随机小姐姐视频API:https://api.hefollo.com/API/xjjsp.php
随机PC端风景图片API:https://api.hefollo.com/API/fengjingpc.php
URL文件夹下有链接集合可在线调用链接!
例如:
$txt = “https://hefollo.com/URL/%E5%8A%A8%E6%BC%AB%E5%9B%BE%E7%89%87%E9%93%BE%E6%8E%A5.txt”; //读取远程动漫图片链接.txt;
if(file_get_contents($txt)){ //判断txt文件是否存在
$data = file($txt); //将文件存放在一个数组中,这里你也可以循环输出这个数组,我这边就随机读取数组里的一条输出;
$num = count($data); //条数;
$id = mt_rand(0,$num-1); //随机数字;
$url = chop($data[$id]); //显示第几行数据,并去除空格;
header(“location:$url”); //随机显示
}
?>
具体图片自己测!![图片[1]-图库API调用说明-朝晞小屋](https://image.baidu.com/search/down?url=http://cdn.u1.huluxia.com/g4/M02/A0/73/rBAAdmIkucWAThnlAAG_7LvDTlE10.jpeg)
![图片[2]-图库API调用说明-朝晞小屋](https://image.baidu.com/search/down?url=http://cdn.u1.huluxia.com/g4/M02/A0/73/rBAAdmIkuceAJmnHAAPvrZWUOQ0208.jpg)
![图片[3]-图库API调用说明-朝晞小屋](https://image.baidu.com/search/down?url=http://cdn.u1.huluxia.com/g4/M02/A0/73/rBAAdmIkuciAbos_AAQd63-3I0k590.jpg)
![图片[4]-图库API调用说明-朝晞小屋](https://image.baidu.com/search/down?url=http://cdn.u1.huluxia.com/g4/M02/A0/73/rBAAdmIkucmAKC1VAAPnIzEuU9g033.jpg)
![图片[5]-图库API调用说明-朝晞小屋](https://image.baidu.com/search/down?url=http://cdn.u1.huluxia.com/g4/M02/A0/73/rBAAdmIkucuAEpMSAAQoVHYfa3I904.jpg)
![图片[6]-图库API调用说明-朝晞小屋](https://image.baidu.com/search/down?url=http://cdn.u1.huluxia.com/g4/M02/A0/73/rBAAdmIkucyAdUkWAAEojhqa2QI482.jpg)
![图片[7]-图库API调用说明-朝晞小屋](https://image.baidu.com/search/down?url=http://cdn.u1.huluxia.com/g4/M02/A0/73/rBAAdmIkuc2AAUSJAAPPQmz1-DE428.jpg)
![图片[8]-图库API调用说明-朝晞小屋](https://image.baidu.com/search/down?url=http://cdn.u1.huluxia.com/g4/M02/A0/73/rBAAdmIkuc6AbBGdAAFkWtZF0G0505.jpg)
![图片[9]-图库API调用说明-朝晞小屋](https://image.baidu.com/search/down?url=http://cdn.u1.huluxia.com/g4/M02/A0/73/rBAAdmIkuc-AQgUSAAQoN2gC1YY990.jpg)





















暂无评论内容