|
| |
User Groups : Forums : SiteExperts : Dynamic HTML
:  | How to allow users select a file, and store the client file path? I'm banging my head against the wall, so to speak. How on Earth should I be allowing users to select a file, and simply just store the full file path into the database?
One annoyance in building web-based applications is the functionality of <input type="file">.
The task I'm trying to do, is to simply allow users to browse and select a file, situated locally or within a network, then simply store the full path of that file into a database, without actually uploading the file.
Annoyance 1: FF3's file input no longer includes the PATH in such field types.
Annoyance 2: FF3's file input no longer allows manual input into such field types.
Those two annoying issues were discussed here: http://groups.google.com/group/mozilla.support.firefox/browse_thread/thread/7503208936a34955
BEFORE I bumped into the above issues, I was originally trying to apply this technique: http://www.quirksmode.org/dom/inputfile.html, which seemed to be a promising way for me to not only store the file path STRING and prevent file uploads, but also to style such file fields.
Dang it, all I am trying to do is to store a STRING. How hard could that be?
Any suggestions?Started By Terry Young on Sep 29, 2009 at 3:09:00 AM |  | | 18 Response(s) | Reply |
| View All Replies | Goto Page: 3 2 1 |  | | bod1467 on Sep 29, 2009 at 4:29:45 AM Long-winded ... user opens Explorer, finds the file in question, then copies the path from the Explorer address bar into a form text field. User still has to type in the filename itself though.
Sensible suggestion? Not a clue. :-(
| | View All Replies | Goto Page: 3 2 1 |
To respond to a discussion, you must first logon.
If you are not registered, please register yourself to become a member of the SiteExperts.community.
|