Home > Backend Development > PHP Tutorial > 音频文件使用二进制存入数据库,php有什么方法可以把二进制转换成音频文件?该怎么解决

音频文件使用二进制存入数据库,php有什么方法可以把二进制转换成音频文件?该怎么解决

WBOY
Release: 2016-06-13 10:18:44
Original
1722 people have browsed it

音频文件使用二进制存入数据库,php有什么方法可以把二进制转换成音频文件?
RT

------解决方案--------------------
读出来再写文件就是了,数据库和php都不会主动改变数据内容
记的在存储时还需要存储数据的类型,以免以后弄混了

------解决方案--------------------
把音频的进制流存入数据库,然后取出来不就是音频,难道会变?不太明白

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template