Delete list.php

This commit is contained in:
NC 2023-08-09 16:04:22 +08:00 committed by GitHub
parent d8fb95695d
commit 9c61377e51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +0,0 @@
<?php
header('Content-Type: text/json;charset=UTF-8');
$dir=dirname(__FILE__);
$files = glob('./list/*.txt');
$result='';
foreach ($files as $file) {
$fsize=filesize($file);
$myfile = fopen($file, "r") or die("Unable to open file!");
$txt= fread($myfile,$fsize);
fclose($myfile);
$txt=$txt."\r\n";
$result=$result.$txt;
}
echo $result;
?>