Home > CMS Tutorial > PHPCMS > body text

How to upload song files in phpcms

藏色散人
Release: 2020-07-13 11:07:40
Original
2012 people have browsed it

How to upload song files in phpcms: First open "Settings->Site Management->Modify"; then add the type you need in the "Allow upload attachment type" in the attachment configuration; then open " Add Model" to add the corresponding model; finally select "Multiple File Upload" in "Field Type" and add "mp3|wma".

How to upload song files in phpcms

##phpcms Upload mp3 song file

First enter the background, open Settings->Site Management->Modify

How to upload song files in phpcms

In the attachment configuration, add the type you need in "Allow upload attachment type" (I added mp3 and wma here) and click OK after adding it.

How to upload song files in phpcms##Next, open Content->Model Management->Add Model, add the corresponding model, and click OK.

How to upload song files in phpcmsThen, open Content->Model Management

How to upload song files in phpcmsClick Add Field and select in "Field Type" "Multiple file upload", add the required file types in "File types allowed to be uploaded" in "Related Parameters". (What I added here is mp3|wma). Add other parts according to your own needs. If you are really unclear, use the system default settings.

How to upload song files in phpcmsFinally, click OK. In the column management, select the model you just added for the desired column, and then you can add songs on the content page.

Recommended: "

PHPcms Tutorial

"

The above is the detailed content of How to upload song files in phpcms. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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 [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!