I need to be able to put a pathname to an image file in a database. I've tried using:
<input type="file" ... />
to let the user browse to the file, but that only returns the filename, not the full path. Further research shows that this is a "security" feature and browsers do not return the full path.
btw - I know I can do this with IE by enabling the 'Security' setting "Include local directory path when uploading files to a server", so don't bother sending that as a solution. I'm looking for something non-browser dependent, if such a mechanism exists.