<?php $img=file('img.txt'); $url=array_rand($img); header("Location:".$img[$url]); ?>然后TXT文件每行一个绝对图片地址
评论 (0)