When audio files are stored in the database in binary format, can php convert binary data into audio files? How can this problem be solved?

Source: Internet
Author: User
When audio files are stored in the database in binary format, can php convert binary data into audio files? RT: Just read the file and write it again. Both the database and php will not take the initiative to change the type of data to be stored when the data is stored, so as to avoid confusion in the future, store the audio in the database, and then extract the audio. Will it change? I don't quite understand how to use binary to store audio files in the database. is php capable of converting binary files into audio files?
RT

------ Solution --------------------
Read the file and write the file again. neither the database nor php will change the data content.
The type of data to be stored during storage, so as to avoid confusion in the future.

------ Solution --------------------
Store the audio in the database, and then extract the audio. Will it change? Not quite clear

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.