我想在php中使用无格式的上传文件吗? [英] i want use upload file without form in php is it possible?

查看:242
本文介绍了我想在php中使用无格式的上传文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,我想在html中使用文件上传标记
< input type ="file" name ="file">

但我不想使用< form>表单</form>当我单击我的链接时,它将被上传

意味着没有表格使用文件上传
有可能吗?

请给我解决方案

for example i want to use file upload tag in html
<input type="file" name="file">

but i not want to use form <form> </form> when i click on my link thay time it will be upload

means without form use file upload
is it possible?

pls give me solution

推荐答案

我怀疑是否可能.

类似的问题答案在此处指出了相同的内容:上传不带格式的文件 [
I doubt if it is possible.

Similar question answer here that states the same thing: Upload file without form[^]


这篇关于我想在php中使用无格式的上传文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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