Site Management->Modify"; then add the types you need in the "Allow upload attachment types" in the attachment configuration; then open "Add Model" and add the corresponding model ;Finally, select "Multiple File Upload" in "Field Type" and add "mp3|wma"."/> Site Management->Modify"; then add the types you need in the "Allow upload attachment types" in the attachment configuration; then open "Add Model" and add the corresponding model ;Finally, select "Multiple File Upload" in "Field Type" and add "mp3|wma".">
Home >CMS Tutorial >PHPCMS >How to upload song files in phpcms
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".
##phpcms Upload mp3 song file
First enter the background, open Settings->Site Management->Modify 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.##Next, open Content->Model Management->Add Model, add the corresponding model, and click OK.
Then, open Content->Model Management
Click 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.
Finally, 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 TutorialThe 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!