<输入类型=文件>的变更值> [英] changing value of <input type=file">

查看:98
本文介绍了<输入类型=文件>的变更值>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何以编程方式更改< input type =file>



<我知道这是由于安全原因而被禁用,但有没有解决方法。我正在使用PHP。

解决方案

如果现在有解决方法,它肯定会在将来被禁用。正如您自己所说的那样,由于安全限制,您无法更改文件输入元素的值。


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.

解决方案

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.

这篇关于&lt;输入类型=文件&gt;的变更值&gt;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆