Access directories on users machine

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
daisy25
Forum Newbie
Posts: 3
Joined: Mon Mar 06, 2006 4:06 am

Access directories on users machine

Post by daisy25 »

Hi all,
Is there anyway to access the filesystem on the users computer? I need to open a predefined directory and check for files. BTW its for a completely legit project.

Thanks!
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

A Java applet is the way to do that. For Windows only VB or C# would work as well.
(#10850)
daisy25
Forum Newbie
Posts: 3
Joined: Mon Mar 06, 2006 4:06 am

Post by daisy25 »

Thanks for the reply !
So no way to do it with PHP or javascript?
hcy
Forum Newbie
Posts: 3
Joined: Sun Mar 05, 2006 11:59 pm

only use Javascript

Post by hcy »

php work at server,so you can use it to open filesystem of server,can't open the filesystem of client.
javascript work at client,so it can open filesystem of client,can't open the filesystem of clientserver.

I am a chinese,are you?
daisy25
Forum Newbie
Posts: 3
Joined: Mon Mar 06, 2006 4:06 am

Post by daisy25 »

My father is, but Im irish. So is there a javascript function that would allow me to browse the users filesystem?
Thanks for the replies, i appreciate it.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

No it doesn't, that would be a massive security risk now wouldn't it ;)
Post Reply