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

将上传的文件保存在2扩展php中

I want to let my users upload a video (and after uploading watching it). The video is saved on the server. However, to let every user watch the video with <video>, I have to make sure I offer the video in 2 extensions, namely .ogg and .mp4 see www.w3schools.com.

how do I save the same file twice, but with different extensions, and how to convert them to the other extension in php?

I thank you for your time.

近期文章

  • 数据未插入MySQL数据库
  • cURL获得IIS站点的403响应
  • 向PHP会话变量添加完整查询?
  • PHP数组 - 如何在里面使用变量?
  • Laravel:共享表多对多
  • jQuery Ajax / Apache / PHP - 帖子大小限制
  • 在Netbeans远程服务器上进行调试
  • 在URL App Inventor中使用大于(> =)
  • Laravel 5:添加自定义样式/脚本
  • Route :: Auth未被中间件包围
  • 重定向到类似于获取网址的网址[已关闭]
  • Angularjs中的自定义过滤器无法正常工作
  • 找不到错误'MongoDB \ Driver \ Manager'
  • PHPMailer SMTP错误:数据不被接受
  • php错误从文本区域获取值
  • 运行php脚本时出现http 500错误[重复]
  • 如何使验证码检查代码工作
  • 从字符串中删除数字格式
  • php:注销按钮不会更改为登录
  • 如何在没有PHP邮件的情况下发送表单数据

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华