Page 1 of 1

How can i access the local directory resource

Posted: Sun Apr 06, 2003 5:33 am
by johnsonzhang
Here is the question:
i'm going to build a software of httpupload using PHP. so the request
is to open and list the directroy files in the client's local host. when i specify the directory name like 'C:/' ,it refers to the pathname of the server host. what can i do ? :roll:

Posted: Sun Apr 06, 2003 5:56 am
by d1223m
you cannot get the dir list from the client computer unless the webserver was running on that machine. Think about the security implications of such a thing being implemented in browsers...