What is Best way to obtain filename for HTML FILE Uploading on forms?

Posted by CitadelCSAlum on Stack Overflow See other posts from Stack Overflow or by CitadelCSAlum
Published on 2010-05-26T23:37:13Z Indexed on 2010/05/26 23:41 UTC
Read the original article Hit count: 167

Filed under:
|

I need to obtain the String for the file that is being uploaded from forms to store in the database.

I am using the usual form input file element

 input type="file" name="some_name"

I found a couple JS scripts that allow me to do useless things like display the string in a dialog box, etc.

I need this as an element on the request object or as a hidden field on my page when the form is posted.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html