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

如何使用move_uploaded_file()在PHP上传两个不同的文件

I've done some googling but I just can't find the right answer, maybe I am searching wrong but can you please help me move two uploaded files in a form at the same time.

At the moment the first upload works fine but the second one doesn't semm to work at all.

Oh, and by the way they are two different files. One is an image and the other one is a song (a .mp3 file).

Hope it's not a duplicate .

近期文章

  • 在Laravel的Eloquent whereIn方法中的原始声明
  • 在表单OnChange中交换数字的顺序
  • 如何使用Laravel 5.5禁用Chrome的Dusk无头模式?
  • 如何在PHP类中“隐藏”私有变量
  • 如何用PHP在图片上输入HTML输入文本
  • ZF2动态路线
  • 无限循环facebook canvas(游戏应用程序)
  • php.ini中的display_errors = off仍然会显示错误 - 以及如何记录错误?
  • Fusioncharts不会在移动设备上显示
  • 用jquery ajax加载的数据空白[关闭]
  • CakePHP动态主页基于域名
  • 在IIS上通过PHP进行LDAPS连接
  • 发布请求不会更改DB中的值
  • 我如何正确地“加入”这些表格?
  • 如何从php中的一个查询更新两个表
  • Transliterator_transliterate - 编码问题PHP
  • 从php中插入数据库中的特殊字符
  • Laravel:执行使用多个表的位置
  • 将数据提交给PHP,并获得结果
  • 可以通过API图获得付费广告的数量吗?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华