Home >Backend Development >PHP Tutorial >Can I use CodeIgniter to build a backend management system for users to upload files?

Can I use CodeIgniter to build a backend management system for users to upload files?

WBOY
WBOYOriginal
2016-08-18 09:15:43871browse

Please tell me, I want to create a background management function for uploaded files, which can view/manage image files uploaded by all users. Is it difficult to implement? Which PHP framework is more suitable to start with?

Additional: When a user opens a web page on a WeChat official account to upload a file, can the WeChat user's information be obtained and stored in their own website? This facilitates background management to query users' uploaded files.

Reply content:

Please tell me, I want to create a background management function for uploaded files, which can view/manage image files uploaded by all users. Is it difficult to implement? Which PHP framework is more suitable to start with?

Additional: When a user opens a web page on a WeChat official account to upload a file, can the WeChat user's information be obtained and stored in their own website? This facilitates background management to query users' uploaded files.

I think the requirement you mentioned can be achieved by any PHP framework. Nothing difficult. Let me tell you how I understand it! First, I won’t talk about login management, it’s mainly about uploading files

  • A file upload class or upload method will also work

  • Upload file information and save corresponding user information

  • File list display, you can query different data according to different types

  • If the amount of data is large, try to use cache

The answer is that the
difficulty can be displayed on the front end.
It is recommended to use SPL traversal when traversing on the back end.
Also, when uploading, remember to select the folder by user and date.
Otherwise, if you upload them all to one folder, too many files will cause the folder to open very slowly

Yes, there are many related plug-ins on the Internet, you can choose one and integrate it into ci for use

Statement:
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 admin@php.cn