用PHP获取根目录下所有子目录里的mp4视频并转成链接带路径格式存到本地根目录文件txtxt里
' . $file . '';
$links[] = $link;
}
// 将链接存储到本地文件中
$file = fopen('tx.txt', 'w');
fwrite($file, implode("\n", $links));
fclose($file);
echo '文件已生成!'
原文地址: https://www.cveoy.top/t/topic/eA53 著作权归作者所有。请勿转载和采集!