Help Master! How to solve the following problems?
I want to do a file upload download management PHP, the requirements are as follows:
Can not use the database, self-set several user name and password, to set up an administrator account, ordinary users can manage their own files, administrators can manage all the files.
I am a novice, file upload can find code reference, but the above requirements do not know how to do, looking for expert advice, of course, the more detailed the better!
------Solution--------------------
Ideas. Create your own new TXT document, which contains the initial administrator. The document is then manipulated.
And what do you mean by management files? If you simply create a new change, it doesn't make sense.
------Solution--------------------
1, no database can be used files, not the main
2, if the file record, then in the case of changes (such as the deletion of a file), the reliability of the operation will be reduced. This should take fully into account the
3, can a user a directory, everyone in the directory of each operation
4, user name and password can be written directly in the program
5, since there is a download, you should have a brief description of the download file.
6. Instructions can be saved centrally or with the download file
Think about it so much that you first determine your plan and then say
------Solution--------------------
Just judge the directory name.
------Solution--------------------
Enable FTP server
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service