Home > Article > Backend Development > 10 articles about music files
Building a simple interactive website (1) Many features of PHP are related to other software or tools. Using the PHP knowledge we have learned so far, we can try to build a simple interactive website. We can learn a lot through this process. Okay, let's now focus on the construction of a typical personal website. 5.1 Plan a site Generally, a personal site includes a welcome page, a guestbook page, a bookmark link page, a counter, contact information, and even a photo album and some music files, etc. 5.2 Use include and require for modularization We look at some websites built with PHP. Almost every page of the website has include and require embedded in the PHP file. This is because using include and require not only enhances the readability of the code, but also divides the site into modules for management. Generally speaking, there will definitely be duplicate content for every page on a website. For example: the navigation bar at the head of the page, advertising icons, or side navigation, etc. There may also be
1 in the footer of each page, which is the bottom of the page. #Introduction: Video for Beginners on the Road: Video for Beginners on the Road PHP Beginners on the Road (5): Building a Simple Interactive Website (1) Many features of PHP are related to other software or tools. Using the PHP knowledge we have learned so far, we can try to build a simple interactive website. We can learn a lot through this process. Okay, let's now focus on the construction of a typical personal website. 5.1 Plan a site Generally, a personal site includes a welcome page, a guestbook page, a bookmark link page, a counter, contact information, and even a photo album and some music files, etc. 5.2 Use in
2.php file upload_PHP tutorial
Introduction: PHP file upload. A PHP file upload example, it can support txt, rar, zip, jpg, jpeg, gif, png, swf, wmv, avi, wma, mp3, mid, jar, jad, exe, html, htm, css, js ,doc' upload, music files, etc. are all available. A php tutorial
3.php Get music file playback time_PHP tutorial
Introduction: php get music File playback time. The article briefly introduces the playback time code of PHP music files. Friends in need can take a closer look. // mp3, wav or other formats supported by media player. Copy the code as follows
4.The PHP code uploads music in the background and can download and play it in the frontend~Solution
Introduction: The PHP code uploads music in the background and the front desk can realize downloading and playing~How to insert music files into the database, is its address stored? When playing in the foreground, if the music name is made into a hyperlink, it cannot be played. IE browser directly becomes the download interface, while Google can listen, but the web page jumps. ------solution-------------------- The front desk should use a web player to play it! Write a link directly? ! No way~ ------Solution-------
5.Seeking an example of delayed batch renaming of .mp3 data
Introduction: Looking for an example of delayed batch renaming of .mp3 files. There are 10 .mp3 music files with irregular file names in the music directory of the website. I want them to be automatically renamed. The renaming rule is 1 ~10 random numbers, and rename using the above rules every 5 minutes. It is best to run it automatically in the background. How to achieve this? I am new to PHP and still have many questions that I don’t understand. I hope you can help me in the future. . ------solution-------------------- Discuss simple processing
6.Hidden mp3 file path in web music player, please enlighten me about the background php language
Introduction : The web music player hides the mp3 file path. Please enlighten me. A background PHP language guy encountered a project. He needs to call the web music player in the front desk to play the music files uploaded by the user, but it cannot be downloaded. The file path needs to be hidden. . The player is directly called and cannot be changed. . Music files can only be referenced directly using src. . May I ask if there is any solution? ? ? ?
Thank you! ! ! ! ! !
Music player?Hide 7. The web music player hides the mp3 file path. Please enlighten me on the background php language. Introduction: The web page music player hides the mp3 file path. Please give me some advice on the background PHP language. I encountered a project where I need to call the web music player in the front desk to play the music files uploaded by the user. However, it cannot be downloaded and the file path needs to be hidden. . The player is directly called and cannot be changed. . Music files can only be referenced directly using src. . May I ask if there is any solution? ? ? ? Thank you! ! ! ! ! ! Music player? Hidden path 8. Requesting an example of delayed batch renaming of .mp3 data Introduction: Seeking delayed batch renaming of .mp3 files. There are 10 .mp3 music files with irregular file names in the music directory of the website. I want them to be automatically renamed. The renaming rule is to use random numbers from 1 to 10, and every Use the above rules to rename again in 5 minutes. It is best to run it automatically in the background. How to achieve this? I am new to PHP and still have many questions that I don’t understand. I hope you can help me in the future. . ------Solution--------------------Discuss simple processing of P #Introduction: The PHP code uploads music in the background and the front desk can realize downloading and playing~How to insert music files into the database and save them Did you enter its address? When playing in the foreground, if the music name is made into a hyperlink, it cannot be played. IE browser directly becomes the download interface, while Google can listen, but the web page jumps. ------Solution--------------------The front desk should use a web player to play it! Write a link directly? ! No way~------Solution--------- 10. php Get the music file playback time Introduction: php gets the playback time of music files. The article briefly introduces the playback time code of PHP music files. Friends in need can take a closer look. // mp3, wav or other formats supported by media player. Copy the code as follows [Related Q&A recommendations]: javascript - javaweb playback Several errors in music files java - How to add music files when packaging phonegap ios - When using AVAudioplayer to make a music player , how to get the duration of the music file? What should I do if JavaScript fails to assign value from function callback? android - Android 6.0, get music files from mobile phone (Huawei Honor 7)?
The above is the detailed content of 10 articles about music files. For more information, please follow other related articles on the PHP Chinese website!