RE: Re: PHP/AJAX File Drag&Drop

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

 



I think the risk is that the path shows lots of information about how your
system is configured that is not necessary to transfer the file, so, for
example if uploading something from you My Documents folder on windoz, why
reveal what username you use for system signon, no sense leaving the door
open.

I would suggest you use something like a signed on user name to your site to
organize uploads, and not depend on where a given user stores things on his
system.

Warren Vail

> -----Original Message-----
> From: Dan [mailto:frozendice@xxxxxxxxx]
> Sent: Friday, November 30, 2007 4:40 PM
> To: php-general@xxxxxxxxxxxxx
> Subject:  Re: PHP/AJAX File Drag&Drop
> 
> 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
> 
> ""Andrei Verovski (aka MacGuru)"" <andreil1@xxxxxxxxxxx> wrote in message
> news:200712010057.30660.andreil1@xxxxxxxxxxxxxx
> > Hi !
> >
> > Anyone knows PHP/AJAX library which allows to get full path of file
> > dropped
> > into web browser's window area?
> >
> > It is required for document archiving system in order to avoid multiple
> > (or to
> > be more precise, almost endless) usage of "open file" dialogs from the
> > browser.
> >
> > Library should be compatible with Firefox (Lin, Win, Mac), IE and
> Safary.
> >
> >
> > Thanks in advance for any suggestion(s).
> >
> > Andrei
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
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