1 Star 0 Fork 10

涵泽_su0mi / proxy-test

forked from xiaogg / proxy-test 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
listsuccess.php 420 Bytes
一键复制 编辑 原始数据 按行查看 历史
xiaogg 提交于 2018-08-27 10:45 . 查看历史记录
<?php
header("content-type:text/html; charset=utf-8");
$file=empty($_GET['file'])?'':$_GET['file'];
if($file && strpos('a'.$file,'20')==1 && substr($file,-4,4)=='.log'){
$content= file_get_contents('./success_proxy/'.$file);
echo nl2br($content);
exit;
}
$list=scandir('./success_proxy');
foreach($list as $v){
if(strpos('a'.$v,'20')==1){
echo "<a href='?file=".$v."'>".$v."</a><br>";
}
}
?>
PHP
1
https://gitee.com/beriny/proxy-test.git
git@gitee.com:beriny/proxy-test.git
beriny
proxy-test
proxy-test
master

搜索帮助