Home >php教程 >php手册 >做了个目录显示程序

做了个目录显示程序

WBOY
WBOYOriginal
2016-06-21 09:11:191047browse

程序|显示

现在网站挂了,抓图看看

主程序show.php,不想格式化代码,格完后连自己都看不懂
里面可以设置

//设置锁定的最高目录,要以斜杠结尾。可以这样:$Lock_path="/home/"; $Lock_path="c:/"; $Lock_path="d:/mysql/";
$Lock_path="/";

//设置保护的后缀名,需要时去掉前面的双斜杠
//$shield_file=array("gif","php","zip");
//设置保护的文件名,需要时去掉前面的双斜杠
//$shield_folder=array("图片","程序","xltxlm","电影");


//设置相应网站,不要以斜杠结尾
$web_site="http://XXX.XXX.com/XXXX";
//设置网站对应的路径,要以斜杠结尾
$web_root="/home/htdocs/XXXXX/";



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn