Chinaunix

标题: 新手請問php用dir function [打印本页]

作者: die-hazard    时间: 2003-06-22 06:56
标题: 新手請問php用dir function
請問用php dir函式要打開windows硬碟中的c:\傲如何寫,可否指導一下???
作者: macleo    时间: 2003-06-23 00:25
标题: 新手請問php用dir function
用过phpshell没有!到internet中去找吧!找到了!你就知道了!

给你个phpshell的网址,下了它!安装!呵呵,^_^!明白了吧!;)
http://www.gimpster.com/
作者: wubai    时间: 2003-06-24 09:04
标题: 新手請問php用dir function
试试看

<?
$d = dir("c:/";
echo "Handle: ".$d->;handle."<br>;\n";
echo "ath: ".$d->;path."<br>;\n";
while (false !== ($entry = $d->;read())) {
   echo $entry."<br>;\n";
}
$d->;close();
?>;
作者: macleo    时间: 2003-06-24 23:32
标题: 新手請問php用dir function
高手是wubai啊




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2