On Sat, 1 Dec 2007, Andrei Verovski (aka MacGuru) wrote: > 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 > As others have noted, Javascript cannot return the full path to a client-side document for security reasons. If you need a multiple file upload interface, you might want to take a look at some extjs ALAX toolkit-based stuff, eg http://aariadne.com/uploadform/ http://extplorer.sourceforge.net/ Haven't used either of them, though. I do use extjs alot: http://extjs.com/ Normally I shy away from 'Web 2.0' kinda stuff, but I've had to develop some complex dynamic interfaces to a PHP/MySQL backend and had to make the leap. It's well-documented, the developers are active and helpful participants in the forums, and it seems to work pretty well cross-platform (haven't tried it on my Linux/Solaris boxes yet, but WinXP/Firefox, WinXP/IE, OSX/Firefox, OSX/Safari all seem to work pretty well. Had some quirks with OSX/Opera, but haven't had a chance to delve into that. I also use the HTML_AJAX package - http://pear.php.net/package/HTML_AJAX - as I still have some PHP4 left and can't use the native JSON functions. If extjs doesn't float your boat, you can always look into Scriptaculous, Dojo, YUI, many others. steve ........................................................... . Steve Edberg sbedberg@xxxxxxxxxxx . . Computer Consultant University of California, Davis . . (530)754-9127 . ........................................................... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php