Page 1 of 1
Reading files on client machine
Posted: Wed Jun 11, 2003 1:12 pm
by daven
Is it possible to have PHP generate a list of files on the client machine, similar to what readdir() can do for the server?
Posted: Wed Jun 11, 2003 1:18 pm
by volka
unless php-ActiveScript is installed (and chances are remote

) php can do nothing client-side.
Posted: Wed Jun 11, 2003 1:20 pm
by cactus
PHP is server side, you would need a client side application/applet.
Regards,
Posted: Wed Jun 11, 2003 1:20 pm
by cactus
jinx

Re: Reading files on client machine
Posted: Wed Jun 11, 2003 1:26 pm
by PastAustin
daven wrote:Is it possible to have PHP generate a list of files on the client machine, similar to what readdir() can do for the server?

Go for Java. Applets are good for those kind of things.
Posted: Wed Jun 11, 2003 1:29 pm
by volka
for accessing the client's filesystem certain permissions must be granted.
If you're going to write an applet for that search for signed applets and manifest, so the browser will ask the user wether he/she/it allows the applet access to the filesystem.
if you're working on a win32-system, did you try e.g. [url=file:///C:/]file:///C:/[/url]?
Posted: Wed Jun 11, 2003 4:43 pm
by daven
Right. *smacks self in head*
Sorry about the stupid question. I have been at work for way too many hours and my brain is not working.