I want to know how to programmatically change the value of <input type="file">
I know that this is disabled for security reasons, but is there a workaround for it. I am using PHP.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If there was a workaround that works now, it certainly will be disabled in the future. As you said yourself, you cannot change the value of an file input element due to security restrictions.