Hello,
Is there any way to populate an input type=file form field with stored information from a mysql database? And if so, is this a security risk?
Thanks in advance!!!!
Printable View
Hello,
Is there any way to populate an input type=file form field with stored information from a mysql database? And if so, is this a security risk?
Thanks in advance!!!!
No; You can not fill the file upload box value. There is security risk. That is the reason why it is not allowed by the browsers.
Thanks prasanthmj! I had a feeling that was the answer, but just wanted to make sure...
To expand a little: theoretically you could. I don't know if it's allowed in HTML or not. But in reality, you cannot because all browsers ignore this. It is the same with Javascript.