Add files via upload

This commit is contained in:
jdk 2023-02-22 00:38:54 +08:00 committed by GitHub
parent 6aa4afe559
commit 3658bde14e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

18
P/QFBJ.php Normal file
View File

@ -0,0 +1,18 @@
<?php
function read(...$filelist) {
$list = [];
foreach ($filelist as $file) {
$handle = fopen($file, 'r');
while (($line = fgets($handle)) !== false) {
array_push($list, trim($line));
}
fclose($handle);
}
return $list;
}
$list = read('QFBJ.txt');
$url = $list[array_rand($list)];
header("Location: {$url}");

9
P/QFBJ.txt Normal file
View File

@ -0,0 +1,9 @@
https://jsd.cdn.zzko.cn/gh/QFBJ/ZY@main/P/1.png
https://jsd.cdn.zzko.cn/gh/QFBJ/ZY@main/P/2.png
https://jsd.cdn.zzko.cn/gh/QFBJ/ZY@main/P/3.png
https://jsd.cdn.zzko.cn/gh/QFBJ/ZY@main/P/4.png
https://jsd.cdn.zzko.cn/gh/QFBJ/ZY@main/P/5.png
https://jsd.cdn.zzko.cn/gh/QFBJ/ZY@main/P/6.png
https://jsd.cdn.zzko.cn/gh/QFBJ/ZY@main/P/7.png
https://jsd.cdn.zzko.cn/gh/QFBJ/ZY@main/P/8.png
https://jsd.cdn.zzko.cn/gh/QFBJ/ZY@main/P/9.png