Home  >  Article  >  Backend Development  >  做了个目录显示程序_PHP教程

做了个目录显示程序_PHP教程

WBOY
WBOYOriginal
2016-07-13 17:23:56922browse

现在网站挂了,抓图看看 主程序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/";

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/532180.htmlTechArticle现在网站挂了,抓图看看 主程序show.php,不想格式化代码,格完后连自己都看不懂 里面可以设置 //设置锁定的最高目录,要以斜杠结尾。可...
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