读取硬盘的目录 [英] Reading directory of hard drive
问题描述
嗨伙计
这可能是我的主角,但我如何阅读硬盘目录的内容
?我一直在玩php.net的
opendir($ dir)样本,可以从没有
问题的服务器上读取但是如何读取列表来自PC硬盘的文件
(win98(spit!))我正在使用?基本上我想要做的是将文件
硬盘驱动器上某个目录的名称读入一个数组然后
将它们全部上传到服务器上。
-
Colin
3A网页寄存团队
http://www.3awebhosting.co.uk
dir)示例,可以从没有
问题的服务器读取,但是如何从PC的硬盘驱动器中读取文件列表
(win98(吐!))我在用?基本上我想要做的是将文件
硬盘驱动器上某个目录的名称读入一个数组然后
将它们全部上传到服务器上。
-
Colin
3A网页寄存团队
http://www.3awebhosting.co.uk
Le 02 / 01 / 2004,3A Web Hostingaécritdansle message
< 3F *************** @ 3awebhosting.co.uk> :嗨伙计
这可能是我的主角,但我如何阅读硬盘目录的内容?我一直在玩php.net的opendir(
dir)样本,可以从
服务器上读取而没有问题,但我怎么读来自PC硬盘的文件列表(win98(spit!))我正在使用?基本上我想做的是将硬盘上某个目录的文件名读取到一个数组中,然后将它们全部上传到
服务器上。
嗯...你想读取电脑的硬盘
访问网页?
-
SeeSchlo?
Hi Folks
This is probably starring me in the face but how do I read the contents
of a hard drive directory? I''ve been playing around with the
opendir($dir) sample from php.net and can read from the server without
problem but how can I read a list of files from the hard drive of the PC
(win98 (spit!)) I''m using? Basically what I want to do is read the file
names of a certain directory on the hard drive into an array and then
upload them all onto the server.
--
Colin
3A Web Hosting Team
http://www.3awebhosting.co.uk
dir) sample from php.net and can read from the server without
problem but how can I read a list of files from the hard drive of the PC
(win98 (spit!)) I''m using? Basically what I want to do is read the file
names of a certain directory on the hard drive into an array and then
upload them all onto the server.
--
Colin
3A Web Hosting Team
http://www.3awebhosting.co.uk
Le 02/01/2004, 3A Web Hosting a écrit dans le message
<3F***************@3awebhosting.co.uk> :Hi Folks
This is probably starring me in the face but how do I read the
contents of a hard drive directory? I''ve been playing around with
the opendir(
dir) sample from php.net and can read from the
server without problem but how can I read a list of files from
the hard drive of the PC (win98 (spit!)) I''m using? Basically
what I want to do is read the file names of a certain directory
on the hard drive into an array and then upload them all onto the
server.
Hmm... you want to read the hard disk of the computer
accessing the webpage ?
--
SeeSchlo?
这篇关于读取硬盘的目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!