Initial commit,修正

This commit is contained in:
2025-07-13 19:37:38 +08:00
parent 38ce288e27
commit 65bbd06981
12384 changed files with 3985464 additions and 8 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-11T11:18:26+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2024-07-01T09:51:37+08:00
# @Copyright: www.hiluker.cn
$i = $_GET['i'];
$type = $_GET['t'];
$filePath = $_SERVER['DOCUMENT_ROOT'].'/'.$i;
echo '图片不存在';
die();
// 确保文件存在
if (file_exists($filePath)) {
// 发送图片的头信息
header('Content-Type: image/jpeg');
// 输出图片内容
readfile($filePath);
} else {
// 图片不存在的处理逻辑
echo '图片不存在';
}