views:

413

answers:

2

Is there a way to pass a list of files to fancy upload via java script rather then using the browse button and dialog?

http://digitarald.de/project/fancyupload/#docs

Thanks in advance.

+4  A: 

You mean that you want to be able to specify an arbitrary path on the user's machine to upload?

Well, for obvious reasons, that's completely impossible.

If you disagree, think about what would happen if a website made a hidden file upload, set its path to "%USERPROFILE%\Cookies\index.dat", or some other path, and submitted it automatically.

SLaks
A: 

What you might want to look into is to use Flash or Java plugins to upload the file. That will provide you the access to UI changes and so on

Example: http://imageshack.us/ homepage.

thephpdeveloper