Re: Re: PHP/AJAX File Drag&Drop

From: Date: Sat, 01 Dec 2007 15:38:47 +0000
Subject: Re: Re: PHP/AJAX File Drag&Drop
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-265357@lists.php.net to get a copy of this message
Jim Lucas wrote:
Dan wrote:
Unfortunatly javascript can't access the filesystem so it can't get filenames. The closest way you could do something like this would be to use Java (not javascript, totally different). It's a permissions thing, just the way JS and everything else is designed. - Dan [···]
Library should be compatible with Firefox (Lin, Win, Mac), IE and Safary. Thanks in advance for any suggestion(s). Andrei
In fact you can access the filesystem with "signed" javascript scripts. Which by "signing" you Javascript, you will be allowed to access the local file system. But, again, it is all about the permissions. Jim Actually no. Javascript doesn't allow for client's FS access for security reasons, as noted before.
What you're probably talking about is IE's proprietary implementation and the use of COM objects (and there goes the security), but Andrei says the solution should be cross-browser, so this doesn't look like an option. Rafael.

« previous php.general (#265357) next »