Delete img.php

This commit is contained in:
gaotianliuyun 2022-10-06 20:13:00 +08:00 committed by GitHub
parent 706fe70824
commit c4bfe288d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +0,0 @@
<?php
/**
* PHP随机图显示
*/
header('Content-Type: text/html; charset=UTF-8');
$img_array = glob("https://gitcode.net/chuqiuyu/chuqiuyu/-/raw/master/img/*.jpg",GLOB_BRACE);
$img = array_rand($img_array);
header("location:.$img_array[$img]");
?>