Add files via upload

This commit is contained in:
进恩影音工作室
2023-09-12 03:35:44 +08:00
committed by GitHub
parent eaf8b502a4
commit 4a4f3f232a
76 changed files with 8160 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
<?php
$img_array = glob('bzhi/*.{gif,jpg,png,jpeg,webp,bmp}', GLOB_BRACE);
if(count($img_array) == 0) die('没找到图片文件。请先上传一些图片到 '.dirname(__FILE__).'/bzhi/ 文件夹');
header('Content-Type: image/png');
echo(file_get_contents($img_array[array_rand($img_array)]));
?>