上传视频和视频使用php检索mysql [英] uploadvideo & retrive in mysql using php
本文介绍了上传视频和视频使用php检索mysql的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请任何人帮助完整的代码工作,请任何人通过php在mysql中上传和检索视频的完整代码发送给我的电子邮件< Edit>已删除邮件ID</Edit>
please anybody help full code to work please anybody have full code for upload&retrivevideo in mysql through php send to my email <Edit>Removed Mail ID </Edit>
推荐答案
对不起,完整代码.
但是您应该以四种方式分配文件(无论是什么文件,图像,视频等):
一个文件名.两种文件类型.三个文件大小,四个文件内容.将文件作为四号的二进制对象.他们每个人都会在数据库中有一个特殊的字段.要检索它,您需要组装它们.
您也可以使用PHP手册来实现这些功能.
Sorry about the Full Code.
But you should, devide your file (no matter what file, images, videos,...) in four peaces:
one file name. two file type. three file size, four file content. take the file as a binery object for number four. each of them will be given a special field in DB. to retrieve it you need to assemble them.
you can also use PHP Manual for the functions.
这篇关于上传视频和视频使用php检索mysql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文