PHP实现目录遍历

目录遍历是文件管理的基础,在此基础上增长删除,新建,编辑,下载,浏览就更好了。 php <?php header('Content-Type:text/html; charset=gb2312'); error_reporting(0); $dir=$_GET['dir']; if(is_dir($dir)){ echo "Index   of  ".realpath($dir)."<br />
相关文章
相关标签/搜索