Re: Re: PHP/AJAX File Drag&Drop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux