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!!!!
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.
pelaej (10-22-2010)
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.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Bookmarks