我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

PHP中的多文件上传器,带有文本字段

I want to create a multiple Drag and Drop file up-loader, in php. Again i have a code that can upload the file. But In the form I will be having text fields too. When i tried to work on that, the file is being uploaded properly, But my entries are not being saved in database. Since in the drag and Drop up-loader i don't have a button, i cant use Post Method to pass the variable.

Have you tried ajax ?

With jQuery :

$.ajax({ url: "your url", data: your data serialized, success: });

近期文章

  • $ _FILES始终为空
  • 使用PHP从csv矩阵中选择特定值
  • 日期now()和MySQL中的表内日期之间的差异
  • 我可以停止其他PHP进程并继续使用新进程吗?
  • 如果日期是在日期之间,请检查mysql
  • 尝试显示数据库中的数字时未定义的索引
  • $ _SESSION没有设置?
  • 过滤php 5输入
  • 在Wordpress存档页面中清空$ _POST
  • Magento安装的空白屏幕
  • 简单的代码不工作[关闭]
  • 有没有办法在PHP体内使用PHP来编写样式来*移动*它
  • php设置cookie重定向
  • 如何在我的链接en php中重定向页面
  • 获取行数,其中user = $ _session ['username']
  • 似乎无法找到我的$ _POST出了什么问题
  • 表单处理PHP和Javascript [关闭]
  • 如何在两个不同的地方用不同的url显示内容类型的节点,并在drupal中的一个地方隐藏一些字段?
  • 复制的WordPress网站现在“空白”?
  • 如何保护没有表格可以检查的php页面

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华