Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to use phpcms to upload song files

Shulou Source: shulou.com Published: 2022-06-02 11:38:46 10月03日 Update

How to use phpcms to upload song files? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

Phpcms upload song file method: first open "Settings-> site Management-> modify"; then in the attachment configuration of "allow upload attachment type" to add your own type; then open "add model", add the corresponding model; finally, select "multiple file upload" in the "field type" and add "mp3 | wma".

Phpcms uploads mp3 song files

First go to the background and open Settings-> site Management-> modify.

In the attachment configuration, "allow upload attachment type" is added to the type you need (I added mp3, wma here) and click OK after adding.

Next, open content-> Model Management-> add models, add the corresponding models, and click OK.

Then, open content-> Model Management

Click the add field, select "multiple File upload" in "Field Type", and add the desired file type in "allow uploaded File types" in "related parameters". (what I add here is mp3 | wma), other parts are added according to their own needs, it is really not clear to use the default settings of the system.

Finally, click OK. In column management, select the model you just added for the desired column, and you can add songs to the content page.

This is the answer to the question about how to use phpcms to upload song files. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Tags: Files types models songs management content attachments fields questions selections methods more columns sites site management help answers configuration easy clear Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn OPPO Reno Shulou Technology MySQL macOS