User Groups : Forums : SiteExperts :
| 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?INVALID ARGUMENT***